]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
HID: make boot protocol drivers depend on EMBEDDED
authorParag Warudkar <parag.lkml@gmail.com>
Mon, 22 Dec 2008 21:50:52 +0000 (22:50 +0100)
committerJiri Kosina <jkosina@suse.cz>
Sun, 4 Jan 2009 00:00:53 +0000 (01:00 +0100)
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>
drivers/hid/usbhid/Kconfig

index 5d9aa95fc3ef1570c22cb8b0927461dbfba68465..4edb3bef94a649b95d90e19e2b1920339b8d9cf3 100644 (file)
@@ -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"