[PATCH][2/3] serial: fix vr41xx_siu serial console support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The serial console can select only SERIAL_VR41XX=y.

Signed-off-by: Yoichi Yuasa <yoichi_yuasa@xxxxxxxxxxxxxx>

diff -pruN -X generic/Documentation/dontdiff generic-orig/drivers/serial/Kconfig generic/drivers/serial/Kconfig
--- generic-orig/drivers/serial/Kconfig	2007-07-13 10:01:18.452615000 +0900
+++ generic/drivers/serial/Kconfig	2007-07-13 10:01:01.791573750 +0900
@@ -1123,7 +1123,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 -pruN -X generic/Documentation/dontdiff generic-orig/drivers/serial/vr41xx_siu.c generic/drivers/serial/vr41xx_siu.c
--- generic-orig/drivers/serial/vr41xx_siu.c	2007-07-13 10:42:04.473481750 +0900
+++ generic/drivers/serial/vr41xx_siu.c	2007-07-13 10:01:01.795574000 +0900
@@ -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))
-
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux