HID: fix some ARM builds due to HID brokenness - make USB_HID depend on INPUT
authorRussell King <rmk+lkml@arm.linux.org.uk>
Fri, 12 Jan 2007 21:53:51 +0000 (21:53 +0000)
committerJiri Kosina <jkosina@suse.cz>
Sun, 21 Jan 2007 21:17:47 +0000 (22:17 +0100)
We have USB_HID _newly_ selected in configurations which didn't
have it before, which overrides CONFIG_HID and builds HID without
input support.

Nevertheless, here's a patch to solve more of the same that my original
patch attempted to solve.  The original patch is still required.  Seems
to solve the final instance of this problem here.

Signed-off-by: Russell King <rmk+lkml@arm.linux.org.uk>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/usb/input/Kconfig

index 258a5d09d3dcf89eee352cdceb83b438b89d75ec..c7d887540d8d506db46ea65780e090910f28ea25 100644 (file)
@@ -7,7 +7,7 @@ comment "USB Input Devices"
 config USB_HID
        tristate "USB Human Interface Device (full HID) support"
        default y
-       depends on USB
+       depends on USB && INPUT
        select HID
        ---help---
          Say Y here if you want full HID support to connect USB keyboards,