HID: fix quirk handling in usbmouse/kbd
authorJiri Slaby <jirislaby@gmail.com>
Fri, 27 Jun 2008 20:09:25 +0000 (22:09 +0200)
committerJiri Kosina <jkosina@suse.cz>
Wed, 23 Jul 2008 13:25:21 +0000 (15:25 +0200)
commitdc25b78f21384f534a8a5da9600972aa9a51a680
treee7a0b620c4a15a0aa15883189e1253bbe0d05019
parent4db1c62c9991e62b441672db7f227e722776adc4
HID: fix quirk handling in usbmouse/kbd

When usbmouse/kbd is set to build, USB_HID is never defined due to
the USB_HID!=y Kconfig rule. Test CONFIG_USB_HID_MODULE in both
drivers instead.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/usbhid/usbkbd.c
drivers/hid/usbhid/usbmouse.c