Title: [3910] branches/2007R1/arch/blackfin/mach-bf537/boards/stamp.c: Apply patch in bug[#3694].
Revision
3910
Author
sonicz
Date
2007-11-21 00:02:31 -0600 (Wed, 21 Nov 2007)

Log Message

Apply patch in bug[#3694].

Diffstat

 stamp.c |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletion(-)

Modified Paths

Diff

Modified: branches/2007R1/arch/blackfin/mach-bf537/boards/stamp.c (3909 => 3910)


--- branches/2007R1/arch/blackfin/mach-bf537/boards/stamp.c	2007-11-21 05:52:17 UTC (rev 3909)
+++ branches/2007R1/arch/blackfin/mach-bf537/boards/stamp.c	2007-11-21 06:02:31 UTC (rev 3910)
@@ -539,15 +539,20 @@
 
 #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE)
 static struct resource bfin_uart_resources[] = {
+#ifdef CONFIG_SERIAL_BFIN_UART0
 	{
 		.start = 0xFFC00400,
 		.end = 0xFFC004FF,
 		.flags = IORESOURCE_MEM,
-	},{
+	},
+#endif
+#ifdef CONFIG_SERIAL_BFIN_UART1
+	{
 		.start = 0xFFC02000,
 		.end = 0xFFC020FF,
 		.flags = IORESOURCE_MEM,
 	},
+#endif
 };
 
 static struct platform_device bfin_uart_device = {
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
http://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to