Commit a422bf11 authored by Randy Dunlap's avatar Randy Dunlap Committed by Linus Walleij

platform/x86: fix PCENGINES_APU2 Kconfig warning

Fix Kconfig warning for PCENGINES_APU2 symbol:

WARNING: unmet direct dependencies detected for KEYBOARD_GPIO_POLLED
  Depends on [n]: !UML && INPUT [=y] && INPUT_KEYBOARD [=n] && GPIOLIB [=y]
  Selected by [y]:
  - PCENGINES_APU2 [=y] && X86 [=y] && X86_PLATFORM_DEVICES [=y]

Add INPUT_KEYBOARD dependency for KEYBOARD_GPIO_POLLED.
Add LEDS_CLASS dependency for LEDS_GPIO.

Fixes: f8eb0235 ("x86: pcengines apuv2 gpio/leds/keys platform driver")
Reported-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Cc: Enrico Weigelt, metux IT consult <info@metux.net>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent c378b3aa
...@@ -1305,6 +1305,8 @@ config HUAWEI_WMI ...@@ -1305,6 +1305,8 @@ config HUAWEI_WMI
config PCENGINES_APU2 config PCENGINES_APU2
tristate "PC Engines APUv2/3 front button and LEDs driver" tristate "PC Engines APUv2/3 front button and LEDs driver"
depends on INPUT && INPUT_KEYBOARD
depends on LEDS_CLASS
select GPIO_AMD_FCH select GPIO_AMD_FCH
select KEYBOARD_GPIO_POLLED select KEYBOARD_GPIO_POLLED
select LEDS_GPIO select LEDS_GPIO
......
Markdown is supported
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