diff options
author | Helge Deller <deller@gmx.de> | 2009-03-04 23:27:15 -0800 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2009-03-08 16:35:45 -0700 |
commit | b0ecc7309443dbcf1a0ce2d93f39f5d92c124d42 (patch) | |
tree | de6767f1d01117e29d1c3783f3269afb8c30fa46 /drivers/input/misc/rotary_encoder.c | |
parent | adcb523eb39e0dd2f712d8dbd8e18b5d36a97825 (diff) |
Input: hilkbd - fix crash when removing hilkbd module
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.
[dtor@mail.ru: fix some section markups]
Signed-off-by: Helge Deller <deller@gmx.de>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/misc/rotary_encoder.c')
0 files changed, 0 insertions, 0 deletions