Re: [PATCH] input/keyboard/hilkbd.c: fix crash when removing hilkbd module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 26 Dec 2008, Helge Deller wrote:
> On parisc machines, which don't have HIL, removing the hilkbd module
> panics the kernel. Fix this by adding proper implementations for the
> probe and remove functions to the parisc_driver structure.
> 
> A few functions were renamed to clean up the code and make it easier
> readable.
> 
> Disable the MODULE_DEVICE_TABLE() macro on parisc since the kernel
> module autoloader should instead prefer the hp_sdc driver which takes
> care of full HIL support, including HIL mouse and HIL tablets.
> 
> Signed-off-by: Helge Deller <deller@xxxxxx>
> CC: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>

Looks OK, and still compiles fine on m68k/HP300.

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux