]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: ixp4xx: don't select SERIAL_OF_PLATFORM
authorArnd Bergmann <arnd@arndb.de>
Mon, 17 Jun 2019 12:24:30 +0000 (14:24 +0200)
committerOlof Johansson <olof@lixom.net>
Tue, 18 Jun 2019 10:49:38 +0000 (03:49 -0700)
Platforms should not normally select all the device drivers, leave that
up to the user and the defconfig file.

In this case, we get a warning for randconfig builds:

WARNING: unmet direct dependencies detected for SERIAL_OF_PLATFORM
  Depends on [n]: TTY [=y] && HAS_IOMEM [=y] && SERIAL_8250 [=n] && OF [=y]
  Selected by [y]:
  - MACH_IXP4XX_OF [=y] && ARCH_IXP4XX [=y]

Fixes: 9540724ca29d ("ARM: ixp4xx: Add device tree boot support")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/mach-ixp4xx/Kconfig

index 2f052c56cd9efdb11cd034f7cbbb2201f42126ab..fc5378b00f3ddf71ebc9dc3e41145214991310c6 100644 (file)
@@ -13,7 +13,6 @@ config MACH_IXP4XX_OF
        select I2C
        select I2C_IOP3XX
        select PCI
-       select SERIAL_OF_PLATFORM
        select TIMER_OF
        select USE_OF
        help