summaryrefslogtreecommitdiff
path: root/drivers/hid/Kconfig
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2020-05-07 12:53:34 +0300
committerJiri Kosina <jkosina@suse.cz>2020-05-07 14:28:57 +0300
commitc4f0126d487f3c68ab19ccb7c561e8fbf3ea2247 (patch)
tree060d4c7625bb5566cd0a20f5ef090718a6c62399 /drivers/hid/Kconfig
parent350bd245fc180032b442633d40ab37ff8e60e8eb (diff)
downloadlinux-c4f0126d487f3c68ab19ccb7c561e8fbf3ea2247.tar.xz
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") 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>
Diffstat (limited to 'drivers/hid/Kconfig')
-rw-r--r--drivers/hid/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig
index 34f07371716d..b1111407b2f8 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