Skip to contentSkip to conversation

HID: asus: Add depends on USB_HID to HID_ASUS Kconfig option

PATCH In review Hans de Goede 2 participants 2 messages May 7, 2020 HID

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 HID: asus: Add depends on USB_HID to HID_ASUS Kconfig option

Since commit 4bc43a421218 ("HID: asus: Add hid_is_using_ll_driver(usb_hid_driver) check") the hid-asus.c depends on the usb_hid_driver symbol. Add a depends on USB_HID to Kconfig to fix missing symbols errors in hid-asus when USB_HID is not enabled.

Fixes 4bc43a421218 ("HID: asus: Add hid_is_using_ll_driver(usb_hid_driver) check")
---
 drivers/hid/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/hid/Kconfig +1 -0
index 7c89edbd6c5a..9e54dd254613 100644
@@ -149,6 +149,7 @@ config HID_APPLEIR
 
 config HID_ASUS
 	tristate "Asus"
+	depends on USB_HID
 	depends on LEDS_CLASS
 	depends on ASUS_WMI || ASUS_WMI=n
 	select POWER_SUPPLY
Signature · 1 line
2.26.0
maintainer
#1 lore raw
Quoted 8 lines · Hans de Goede

Since commit 4bc43a421218 ("HID: asus: Add hid_is_using_ll_driver(usb_hid_driver) check") the hid-asus.c depends on the usb_hid_driver symbol. Add a depends on USB_HID to Kconfig to fix missing symbols errors in hid-asus when USB_HID is not enabled.

Fixes 4bc43a421218 ("HID: asus: Add hid_is_using_ll_driver(usb_hid_driver) check")

Applied on top of the for-5.8/asus queue. Thanks,

Signature · 2 lines
Jiri Kosina
SUSE Labs