From: Yoichi Yuasa The serial console can select only SERIAL_VR41XX=y. Signed-off-by: Yoichi Yuasa Cc: Ralf Baechle Signed-off-by: Andrew Morton --- drivers/serial/Kconfig | 2 +- drivers/serial/vr41xx_siu.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff -puN drivers/serial/Kconfig~serial-fix-vr41xx_siu-serial-console-support drivers/serial/Kconfig --- a/drivers/serial/Kconfig~serial-fix-vr41xx_siu-serial-console-support +++ a/drivers/serial/Kconfig @@ -1195,7 +1195,7 @@ config SERIAL_VR41XX config SERIAL_VR41XX_CONSOLE bool "Enable NEC VR4100 series Serial Interface Unit console" - depends on SERIAL_VR41XX + depends on SERIAL_VR41XX=y select SERIAL_CORE_CONSOLE help If you have a NEC VR4100 series processor and you want to use diff -puN drivers/serial/vr41xx_siu.c~serial-fix-vr41xx_siu-serial-console-support drivers/serial/vr41xx_siu.c --- a/drivers/serial/vr41xx_siu.c~serial-fix-vr41xx_siu-serial-console-support +++ a/drivers/serial/vr41xx_siu.c @@ -65,7 +65,9 @@ static struct uart_port siu_uart_ports[S }, }; +#ifdef CONFIG_SERIAL_VR41XX_CONSOLE static uint8_t lsr_break_flag[SIU_PORTS_MAX]; +#endif #define siu_read(port, offset) readb((port)->membase + (offset)) #define siu_write(port, offset, value) writeb((value), (port)->membase + (offset)) _