Title: [6611] branches/2009R1/drivers/serial/bfin_5xx.c: add fix for build failure when early printk is enabled but serial driver is a module
- Revision
- 6611
- Author
- vapier
- Date
- 2009-06-08 16:59:02 -0500 (Mon, 08 Jun 2009)
Log Message
add fix for build failure when early printk is enabled but serial driver is a module
Modified Paths
Diff
Modified: branches/2009R1/drivers/serial/bfin_5xx.c (6610 => 6611)
--- branches/2009R1/drivers/serial/bfin_5xx.c 2009-06-08 21:58:19 UTC (rev 6610)
+++ branches/2009R1/drivers/serial/bfin_5xx.c 2009-06-08 21:59:02 UTC (rev 6611)
@@ -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