Skip to content
Commit e77ff779 authored by YueHaibing's avatar YueHaibing Committed by Dmitry Torokhov
Browse files

Input: applespi - add dependency on LEDS_CLASS



If applespi is enabled, but LEDs class support is not, the build fails:

drivers/input/keyboard/applespi.o: In function `applespi_probe':
applespi.c:(.text+0x1fcd): undefined reference to `devm_led_classdev_register_ext'

Add "depends on LEDS_CLASS" to the Konfig

Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Fixes: 038b1a05

 ("Input: add Apple SPI keyboard and trackpad driver")
Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent 25f8c834
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment