Title: [7177] trunk/drivers/serial/bfin_5xx.c: Bug[#5420] Only clear console flag if it exists.
Revision
7177
Author
sonicz
Date
2009-08-13 01:26:08 -0400 (Thu, 13 Aug 2009)

Log Message

Bug[#5420] Only clear console flag if it exists.

Modified Paths

Diff

Modified: trunk/drivers/serial/bfin_5xx.c (7176 => 7177)


--- trunk/drivers/serial/bfin_5xx.c	2009-08-13 05:23:31 UTC (rev 7176)
+++ trunk/drivers/serial/bfin_5xx.c	2009-08-13 05:26:08 UTC (rev 7177)
@@ -1322,11 +1322,13 @@
 	struct bfin_serial_port *uart;
 	struct ktermios t;
 
+#ifdef CONFIG_SERIAL_BFIN_CONSOLE
 	/*
 	 * If we are using early serial, don't let the normal console rewind
 	 * log buffer, since that causes things to be printed multiple times
 	 */
 	bfin_serial_console.flags &= ~CON_PRINTBUFFER;
+#endif
 
 	if (port == -1 || port >= nr_active_ports)
 		port = 0;
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to