serial: lpc32xx uart module can't do console
authorArnd Bergmann <arnd@arndb.de>
Thu, 5 Jun 2014 20:54:27 +0000 (22:54 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Jul 2014 22:48:56 +0000 (15:48 -0700)
Every uart driver that provides a console driver needs to
be built-in for the console code to work, we get a build
error for modular console drivers.

This changes the SERIAL_HS_LPC32XX_CONSOLE symbol to depend
on the SERIAL_HS_LPC32XX driver being built-in, just like
we do for all the other uart drivers.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/Kconfig

index 7f12a005c6cb03934b84f1a3354e1a812405a8ff..26cec64dadd7fe25bf9f1569e2fc81077a6bb2f1 100644 (file)
@@ -773,7 +773,7 @@ config SERIAL_HS_LPC32XX
 
 config SERIAL_HS_LPC32XX_CONSOLE
        bool "Enable LPC32XX high speed UART serial console"
-       depends on SERIAL_HS_LPC32XX
+       depends on SERIAL_HS_LPC32XX=y
        select SERIAL_CORE_CONSOLE
        help
          If you would like to be able to use one of the high speed serial