serial: fix vr41xx_siu serial console support
[linux-2.6-block.git] / drivers / serial / vr41xx_siu.c
index 0b350971fd326383c630c66f175a1a2b02129c0b..6fd51b0022caabc3b11ddc60eda522c2bdcf1e62 100644 (file)
@@ -65,7 +65,9 @@ static struct uart_port siu_uart_ports[SIU_PORTS_MAX] = {
        },
 };
 
+#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))