Title: [3911] trunk/arch/blackfin/mach-bf537/boards/stamp.c: Apply patch in bug[
#3694].
- Revision
- 3911
- Author
- sonicz
- Date
- 2007-11-21 00:04:01 -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: trunk/arch/blackfin/mach-bf537/boards/stamp.c (3910 => 3911)
--- trunk/arch/blackfin/mach-bf537/boards/stamp.c 2007-11-21 06:02:31 UTC (rev 3910)
+++ trunk/arch/blackfin/mach-bf537/boards/stamp.c 2007-11-21 06:04:01 UTC (rev 3911)
@@ -578,15 +578,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