Преглед изворни кода

[PATCH] Generic HID layer - build: USB_HID should select HID

Let CONFIG_USB_HID imply CONFIG_HID. Making it only dependent might confuse
users to choose CONFIG_HID, but no particular HID transport drivers.

Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Jiri Kosina пре 19 година
родитељ
комит
e3a0dd7ced
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2 1
      drivers/usb/input/Kconfig

+ 2 - 1
drivers/usb/input/Kconfig

@@ -7,7 +7,8 @@ comment "USB Input Devices"
 config USB_HID
 config USB_HID
 	tristate "USB Human Interface Device (full HID) support"
 	tristate "USB Human Interface Device (full HID) support"
 	default y
 	default y
-	depends on USB && HID
+	depends on USB
+	select HID
 	---help---
 	---help---
 	  Say Y here if you want full HID support to connect USB keyboards,
 	  Say Y here if you want full HID support to connect USB keyboards,
 	  mice, joysticks, graphic tablets, or any other HID based devices
 	  mice, joysticks, graphic tablets, or any other HID based devices