]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: ixp4xx: Consolidate Kconfig fixing issue
authorLinus Walleij <linus.walleij@linaro.org>
Sun, 22 May 2022 07:23:56 +0000 (09:23 +0200)
committerArnd Bergmann <arnd@arndb.de>
Wed, 25 May 2022 13:54:11 +0000 (15:54 +0200)
commitaea2aca40cb56b85a9a0520a7aa04567780a2786
tree1224ad55790fdb21ad55a11b4d73d6b8aebba571
parentf6fd953038061c8ef909e5f481a6770b7bbe15d7
ARM: ixp4xx: Consolidate Kconfig fixing issue

The IXP4xx Kconfig we ended up with for mach-ixp4xx creates
as kismet warning:

   WARNING: unmet direct dependencies detected for GPIO_IXP4XX
     Depends on [n]: GPIOLIB [=y] && HAS_IOMEM [=y] && ARCH_IXP4XX [=y] && OF [=n]
     Selected by [y]:
     - ARCH_IXP4XX [=y] && <choice>

This is because it is possible to select ARCH_IXP4XX witout
OF while that selects the GPIO driver that now depends on
OF.

Fix this by creating a single ARCH_IXP4XX kconfig that selects
USE_OF.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Imre Kaloz <kaloz@openwrt.org>
Cc: Krzysztof Halasa <khalasa@piap.pl>
Link: https://lore.kernel.org/r/20220522072356.34062-1-linus.walleij@linaro.org'
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/mach-ixp4xx/Kconfig