瀏覽代碼

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>
Parag Warudkar 16 年之前
父節點
當前提交
ac09952bab
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/hid/usbhid/Kconfig

+ 1 - 1
drivers/hid/usbhid/Kconfig

@@ -45,7 +45,7 @@ config USB_HIDDEV
 	  If unsure, say Y.
 	  If unsure, say Y.
 
 
 menu "USB HID Boot Protocol drivers"
 menu "USB HID Boot Protocol drivers"
-	depends on USB!=n && USB_HID!=y
+	depends on USB!=n && USB_HID!=y && EMBEDDED
 
 
 config USB_KBD
 config USB_KBD
 	tristate "USB HIDBP Keyboard (simple Boot) support"
 	tristate "USB HIDBP Keyboard (simple Boot) support"