From: Randy Dunlap <[email protected]>

Fix build error in hid-logitech-dj by making it depend on
USB_HID, like several other HID drivers do.

Fixes this build error:

ERROR: "usb_hid_driver" [drivers/hid/hid-logitech-dj.ko] undefined!

Reported-by: kbuild test robot <[email protected]>
Signed-off-by: Randy Dunlap <[email protected]>
Cc: Jiri Kosina <[email protected]>
Cc: Benjamin Tissoires <[email protected]>
Cc: [email protected]
Cc: Andrew Morton <[email protected]>
---
 drivers/hid/Kconfig |    1 +
 1 file changed, 1 insertion(+)

--- mmotm-2019-0425-1630.orig/drivers/hid/Kconfig
+++ mmotm-2019-0425-1630/drivers/hid/Kconfig
@@ -522,6 +522,7 @@ config HID_LOGITECH
 config HID_LOGITECH_DJ
        tristate "Logitech Unifying receivers full support"
        depends on HIDRAW
+       depends on USB_HID
        depends on HID_LOGITECH
        select HID_LOGITECH_HIDPP
        ---help---


Reply via email to