aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/Kconfig
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2014-04-29 16:26:22 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-05-28 15:22:42 -0400
commit717e1cb22f01ddeaaeddc126fed43f975c920d97 (patch)
tree510c7f1a263604371c676d95c8e6262422146e62 /drivers/tty/serial/Kconfig
parentbeb04a9f04d95b0d1fdb96719559612705dfc1c9 (diff)
serial: add missing SERIAL_CORE dependencies
Two new drivers have been added since 3.14, the MEN 16z135 uart, and the ARM semihosting console. Both are missing an explicit 'select SERIAL_CORE', which can leads build errors when no other driver selects the core, as found during ARM randconfig testing. In case of the ARM semihosting console, we also have to select SERIAL_CORE_CONSOLE. This adds the missing 'select' statements. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/Kconfig')
-rw-r--r--drivers/tty/serial/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig
index ab81a291afdb..6ed61ec670f5 100644
--- a/drivers/tty/serial/Kconfig
+++ b/drivers/tty/serial/Kconfig
@@ -76,6 +76,8 @@ config SERIAL_AMBA_PL011_CONSOLE
76config SERIAL_EARLYCON_ARM_SEMIHOST 76config SERIAL_EARLYCON_ARM_SEMIHOST
77 bool "Early console using ARM semihosting" 77 bool "Early console using ARM semihosting"
78 depends on ARM64 || ARM 78 depends on ARM64 || ARM
79 select SERIAL_CORE
80 select SERIAL_CORE_CONSOLE
79 select SERIAL_EARLYCON 81 select SERIAL_EARLYCON
80 help 82 help
81 Support for early debug console using ARM semihosting. This enables 83 Support for early debug console using ARM semihosting. This enables
@@ -1539,6 +1541,7 @@ config SERIAL_ST_ASC_CONSOLE
1539 1541
1540config SERIAL_MEN_Z135 1542config SERIAL_MEN_Z135
1541 tristate "MEN 16z135 Support" 1543 tristate "MEN 16z135 Support"
1544 select SERIAL_CORE
1542 depends on MCB 1545 depends on MCB
1543 help 1546 help
1544 Say yes here to enable support for the MEN 16z135 High Speed UART IP-Core 1547 Say yes here to enable support for the MEN 16z135 High Speed UART IP-Core