Skip to content

Commit

Permalink
HID: make boot protocol drivers depend on EMBEDDED
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
paragw authored and Jiri Kosina committed Jan 4, 2009
1 parent 725cf0f commit ac09952
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/hid/usbhid/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit ac09952

Please sign in to comment.