Skip to content

Commit f237d90

Browse files
gregkhbentiss
authored andcommitted
HID: add USB_HID dependancy on some USB HID drivers
Some HID drivers are only for USB drivers, yet did not depend on CONFIG_USB_HID. This was hidden by the fact that the USB functions were stubbed out in the past, but now that drivers are checking for USB devices properly, build errors can occur with some random configurations. Reported-by: kernel test robot <[email protected]> Cc: [email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]> Signed-off-by: Benjamin Tissoires <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 9302095 commit f237d90

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/hid/Kconfig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ config HID_CHICONY
214214

215215
config HID_CORSAIR
216216
tristate "Corsair devices"
217-
depends on HID && USB && LEDS_CLASS
217+
depends on USB_HID && LEDS_CLASS
218218
help
219219
Support for Corsair devices that are not fully compliant with the
220220
HID standard.
@@ -560,7 +560,7 @@ config HID_LENOVO
560560

561561
config HID_LOGITECH
562562
tristate "Logitech devices"
563-
depends on HID
563+
depends on USB_HID
564564
depends on LEDS_CLASS
565565
default !EXPERT
566566
help
@@ -951,7 +951,7 @@ config HID_SAITEK
951951

952952
config HID_SAMSUNG
953953
tristate "Samsung InfraRed remote control or keyboards"
954-
depends on HID
954+
depends on USB_HID
955955
help
956956
Support for Samsung InfraRed remote control or keyboards.
957957

0 commit comments

Comments
 (0)