summaryrefslogtreecommitdiffstats
path: root/drivers/hid
diff options
context:
space:
mode:
authorParag Warudkar <parag.lkml@gmail.com>2008-12-22 22:50:52 +0100
committerJiri Kosina <jkosina@suse.cz>2009-01-04 01:00:53 +0100
commitac09952babed8e2ac6999127b7f95d7a2bbfd7af (patch)
tree80c523a8c7bbdacce596aa18da0cdcb0af19cda8 /drivers/hid
parentHID: avoid sparse warning in HID_COMPAT_LOAD_DRIVER (diff)
downloadlinux-ac09952babed8e2ac6999127b7f95d7a2bbfd7af.tar.xz
linux-ac09952babed8e2ac6999127b7f95d7a2bbfd7af.zip
HID: make boot protocol drivers depend on EMBEDDED
The usbmouse and usbkbd modules are not supposed to be used with regular USB mice and keyboards. Make them depend on EMBEDDED to prevent them from being built and loaded on non-EMBEDDED configs. Signed-off-by: Parag Warudkar <parag.lkml@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid')
-rw-r--r--drivers/hid/usbhid/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hid/usbhid/Kconfig b/drivers/hid/usbhid/Kconfig
index 5d9aa95fc3ef..4edb3bef94a6 100644
--- a/drivers/hid/usbhid/Kconfig
+++ b/drivers/hid/usbhid/Kconfig
@@ -45,7 +45,7 @@ config USB_HIDDEV
If unsure, say Y.
menu "USB HID Boot Protocol drivers"
- depends on USB!=n && USB_HID!=y
+ depends on USB!=n && USB_HID!=y && EMBEDDED
config USB_KBD
tristate "USB HIDBP Keyboard (simple Boot) support"