Title: [6600] trunk/drivers/serial/bfin_5xx.c: fix building when early printk is enabled but our driver is built as a module
- Revision
- 6600
- Author
- vapier
- Date
- 2009-06-05 11:50:41 -0500 (Fri, 05 Jun 2009)
Log Message
fix building when early printk is enabled but our driver is built as a module
Modified Paths
Diff
Modified: trunk/drivers/serial/bfin_5xx.c (6599 => 6600)
--- trunk/drivers/serial/bfin_5xx.c 2009-06-05 16:44:18 UTC (rev 6599)
+++ trunk/drivers/serial/bfin_5xx.c 2009-06-05 16:50:41 UTC (rev 6600)
@@ -39,6 +39,10 @@
#include <asm/cacheflush.h>
#endif
+#ifdef CONFIG_SERIAL_BFIN_MODULE
+# undef CONFIG_EARLY_PRINTK
+#endif
+
/* UART name and device definitions */
#define BFIN_SERIAL_NAME "ttyBF"
#define BFIN_SERIAL_MAJOR 204
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits