]> git.baikalelectronics.ru Git - kernel.git/commit
HID: logitech: Add depends on LEDS_CLASS to Logitech Kconfig entry
authorHans de Goede <hdegoede@redhat.com>
Fri, 4 Oct 2019 07:37:15 +0000 (09:37 +0200)
committerBenjamin Tissoires <benjamin.tissoires@redhat.com>
Fri, 4 Oct 2019 14:48:31 +0000 (10:48 -0400)
commitc8c2724b1195c3d25c2b5877b9968a70e26bd54f
tree01e4ded60e4a0d8152423762ef21f41f849819e4
parent172a0d357516079c707382a7719cf0e6dc1eb392
HID: logitech: Add depends on LEDS_CLASS to Logitech Kconfig entry

Commit 09ccde6d102a ("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: 09ccde6d102a ("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>
drivers/hid/Kconfig