Просмотр исходного кода

HID: fix some ARM builds due to HID brokenness - make USB_HID depend on INPUT

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>
Russell King 19 лет назад
Родитель
Сommit
e7c4e1a58f
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      drivers/usb/input/Kconfig

+ 1 - 1
drivers/usb/input/Kconfig

@@ -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,