diff options
| author | Hans de Goede <hdegoede@redhat.com> | 2020-05-07 11:53:34 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-01-05 12:37:43 +0100 |
| commit | 4b38b12092b4d75d994dbacf8bd77a494a2a1b8a (patch) | |
| tree | 8ae741dbadf0acbc5e1b07dd65562569a36a6698 /drivers/hid | |
| parent | 4ca2eaf1d477ce4316989b22e765fb915652b86e (diff) | |
| download | linux-4b38b12092b4d75d994dbacf8bd77a494a2a1b8a.tar.gz linux-4b38b12092b4d75d994dbacf8bd77a494a2a1b8a.tar.bz2 linux-4b38b12092b4d75d994dbacf8bd77a494a2a1b8a.zip | |
HID: asus: Add depends on USB_HID to HID_ASUS Kconfig option
commit c4f0126d487f3c68ab19ccb7c561e8fbf3ea2247 upstream.
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>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Cc: Jason Self <jason@bluehome.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hid')
| -rw-r--r-- | drivers/hid/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig index 0cfcfb116a03..5169a38ee47a 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 |
