]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
platform/x86: fix PCENGINES_APU2 Kconfig warning
authorRandy Dunlap <rdunlap@infradead.org>
Mon, 25 Feb 2019 23:52:14 +0000 (23:52 +0000)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 8 Mar 2019 13:11:23 +0000 (14:11 +0100)
commita422bf11bdb4b95fc78e175339e8eed501e9c13c
treeb453be7b00028392f57cd015703d9d19a6c335f4
parentc378b3aa015931a46c91d6ccc2fe04d97801d060
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: f8eb0235f659 ("x86: pcengines apuv2 gpio/leds/keys platform driver")
Reported-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Enrico Weigelt, metux IT consult <info@metux.net>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/platform/x86/Kconfig