diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-07-31 06:48:09 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2019-07-31 06:50:18 -0700 |
commit | e77ff779a0c6666b697c56a6e41972bbf30b977f (patch) | |
tree | 1807d59f2d5ef28105d3c8422779f590b675508a /drivers/input/keyboard | |
parent | 25f8c834e2a6871920cc1ca113f02fb301d007c3 (diff) | |
download | linux-e77ff779a0c6666b697c56a6e41972bbf30b977f.tar.gz linux-e77ff779a0c6666b697c56a6e41972bbf30b977f.tar.bz2 linux-e77ff779a0c6666b697c56a6e41972bbf30b977f.zip |
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: Hulk Robot <hulkci@huawei.com>
Fixes: 038b1a05eae6 ("Input: add Apple SPI keyboard and trackpad driver")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/keyboard')
-rw-r--r-- | drivers/input/keyboard/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/input/keyboard/Kconfig b/drivers/input/keyboard/Kconfig index ebb19e21473e..90e8a7f2f07c 100644 --- a/drivers/input/keyboard/Kconfig +++ b/drivers/input/keyboard/Kconfig @@ -76,6 +76,7 @@ config KEYBOARD_APPLESPI depends on ACPI && EFI depends on SPI depends on X86 || COMPILE_TEST + depends on LEDS_CLASS select CRC16 help Say Y here if you are running Linux on any Apple MacBook8,1 or later, |