]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: Fix PCENGINES_APU2 Kconfig warning
authorYueHaibing <yuehaibing@huawei.com>
Thu, 4 Jul 2019 06:27:25 +0000 (14:27 +0800)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 12 Jul 2019 13:00:38 +0000 (16:00 +0300)
commit9094939554e95fad6567230377ba625a48a0be62
tree9fa793c53e2d4d49cceb6d36e00eeb15423d880d
parent76fe6571c4daff0e59ce59fe2f94ff8849352b2d
platform/x86: Fix PCENGINES_APU2 Kconfig warning

Fix Kconfig warning for PCENGINES_APU2 symbol:

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

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

Add GPIOLIB dependency to fix it.

Reported-by: Hulk Robot <hulkci@huawei.com>
Fixes: 631fdaa4a8e0 ("x86: pcengines apuv2 gpio/leds/keys platform driver")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/Kconfig