OSDN Git Service

HID: apple: properly reflect LEDS dependency
authorJiri Kosina <jkosina@suse.cz>
Thu, 17 Feb 2022 07:17:02 +0000 (08:17 +0100)
committerJiri Kosina <jkosina@suse.cz>
Thu, 17 Feb 2022 12:54:56 +0000 (13:54 +0100)
Since hid-apple driver now makes use of LEDS functionality, reflect this
properly in Kconfig.

Reported-by: kernel test robot <lkp@intel.com>
Fixes: 9018eacbe623b ("HID: apple: Add support for keyboard backlight on certain T2 Macs.")
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/Kconfig

index f554415..9c0e45f 100644 (file)
@@ -128,6 +128,8 @@ config HID_ACRUX_FF
 config HID_APPLE
        tristate "Apple {i,Power,Mac}Books"
        depends on HID
+       depends on LEDS_CLASS
+       depends on NEW_LEDS
        default !EXPERT
        help
        Support for some Apple devices which less or more break