OSDN Git Service

ARM: gemini: don't select SERIAL_OF_PLATFORM
authorArnd Bergmann <arnd@arndb.de>
Tue, 21 Mar 2017 20:52:56 +0000 (21:52 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 24 Mar 2017 21:12:42 +0000 (22:12 +0100)
We cannot select the option when SERIAL_8250 is not also set:

warning: (ARCH_GEMINI) selects SERIAL_OF_PLATFORM which has unmet direct dependencies (TTY && HAS_IOMEM && SERIAL_8250 && OF)

This removes the 'select' statement, requiring that users enable the
option manually. Alternatively, we could make it a conditional
'select SERIAL_OF_PLATFORM if SERIAL_8250' or also select a handful
of other symbols that it depends on.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/mach-gemini/Kconfig

index eaae826..06c8b09 100644 (file)
@@ -9,6 +9,5 @@ menuconfig ARCH_GEMINI
        select POWER_RESET
        select POWER_RESET_GEMINI_POWEROFF
        select POWER_RESET_SYSCON
-       select SERIAL_OF_PLATFORM
        help
          Support for the Cortina Systems Gemini family SoCs