aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid/Kconfig
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2019-10-04 09:37:15 +0200
committerBenjamin Tissoires <benjamin.tissoires@redhat.com>2019-10-04 10:48:31 -0400
commitbdd08fff4915a9705ea3ec20c82ab8f745bdf225 (patch)
tree01e4ded60e4a0d8152423762ef21f41f849819e4 /drivers/hid/Kconfig
parentHID: lg-g15: Add support for the G510's M1-M3 and MR LEDs (diff)
downloadlinux-dev-bdd08fff4915a9705ea3ec20c82ab8f745bdf225.tar.xz
linux-dev-bdd08fff4915a9705ea3ec20c82ab8f745bdf225.zip
HID: logitech: Add depends on LEDS_CLASS to Logitech Kconfig entry
Commit 97b741aba918 ("HID: lg-g15: Add keyboard and LCD backlight control") makes the hid-lg15 kernel module, which gets configured through config HID_LOGITECH depends on symbols from the led class. Add a depends on LEDS_CLASS to HID_LOGITECH to avoid undefined reference errors on the led class symbols. Fixes: 97b741aba918 ("HID: lg-g15: Add keyboard and LCD backlight control") Reported-by: kbuild test robot <lkp@intel.com> Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
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 1ecb5124421c..494a39e74939 100644
--- a/drivers/hid/Kconfig
+++ b/drivers/hid/Kconfig
@@ -525,6 +525,7 @@ config HID_LENOVO
config HID_LOGITECH
tristate "Logitech devices"
depends on HID
+ depends on LEDS_CLASS
default !EXPERT
---help---
Support for Logitech devices that are not fully compliant with HID standard.