Message ID | 20200507095334.11645-1-hdegoede@redhat.com (mailing list archive) |
---|---|
State | Mainlined |
Commit | c4f0126d487f3c68ab19ccb7c561e8fbf3ea2247 |
Delegated to: | Jiri Kosina |
Headers | show |
Series | HID: asus: Add depends on USB_HID to HID_ASUS Kconfig option | expand |
On Thu, 7 May 2020, Hans de Goede wrote: > 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") > Reported-by: kbuild test robot <lkp@intel.com> > Signed-off-by: Hans de Goede <hdegoede@redhat.com> Applied on top of the for-5.8/asus queue. Thanks,
diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig index 7c89edbd6c5a..9e54dd254613 100644 --- a/drivers/hid/Kconfig +++ b/drivers/hid/Kconfig @@ -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
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") Reported-by: kbuild test robot <lkp@intel.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> --- drivers/hid/Kconfig | 1 + 1 file changed, 1 insertion(+)