Skip to content

Commit bdd08ff

Browse files
jwrdegoedebentiss
authored andcommitted
HID: logitech: Add depends on LEDS_CLASS to Logitech Kconfig entry
Commit 97b741a ("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: 97b741a ("HID: lg-g15: Add keyboard and LCD backlight control") Reported-by: kbuild test robot <[email protected]> Reported-by: Stephen Rothwell <[email protected]> Signed-off-by: Hans de Goede <[email protected]> Signed-off-by: Benjamin Tissoires <[email protected]>
1 parent 4682bb8 commit bdd08ff

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/hid/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -525,6 +525,7 @@ config HID_LENOVO
525525
config HID_LOGITECH
526526
tristate "Logitech devices"
527527
depends on HID
528+
depends on LEDS_CLASS
528529
default !EXPERT
529530
---help---
530531
Support for Logitech devices that are not fully compliant with HID standard.

0 commit comments

Comments
 (0)