Commit bdd08fff authored by Hans de Goede's avatar Hans de Goede Committed by Benjamin Tissoires
Browse files

HID: logitech: Add depends on LEDS_CLASS to Logitech Kconfig entry



Commit 97b741ab ("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: 97b741ab ("HID: lg-g15: Add keyboard and LCD backlight control")
Reported-by: default avatarkbuild test robot <lkp@intel.com>
Reported-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarBenjamin Tissoires <benjamin.tissoires@redhat.com>
parent 4682bb8e
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -525,6 +525,7 @@ config HID_LENOVO
config HID_LOGITECH
config HID_LOGITECH
	tristate "Logitech devices"
	tristate "Logitech devices"
	depends on HID
	depends on HID
	depends on LEDS_CLASS
	default !EXPERT
	default !EXPERT
	---help---
	---help---
	Support for Logitech devices that are not fully compliant with HID standard.
	Support for Logitech devices that are not fully compliant with HID standard.