Browse Source

serial: lpc32xx uart module can't do console

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>
Arnd Bergmann 11 years ago
parent
commit
080029b149
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/tty/serial/Kconfig

+ 1 - 1
drivers/tty/serial/Kconfig

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