From: Helge Deller Date: Thu, 5 Mar 2009 07:27:15 +0000 (-0800) Subject: Input: hilkbd - fix crash when removing hilkbd module X-Git-Tag: v2.6.30-rc2~71^2^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0ecc7309443dbcf1a0ce2d93f39f5d92c124d42;p=pandora-kernel.git 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 Acked-by: Geert Uytterhoeven Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed