diff options
Diffstat (limited to 'arch/blackfin/mach-bf537')
-rw-r--r-- | arch/blackfin/mach-bf537/boards/stamp.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/blackfin/mach-bf537/boards/stamp.c b/arch/blackfin/mach-bf537/boards/stamp.c index a2c347c85e20..07b0dc273d2f 100644 --- a/arch/blackfin/mach-bf537/boards/stamp.c +++ b/arch/blackfin/mach-bf537/boards/stamp.c | |||
@@ -578,15 +578,20 @@ static struct platform_device bfin_fb_adv7393_device = { | |||
578 | 578 | ||
579 | #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE) | 579 | #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE) |
580 | static struct resource bfin_uart_resources[] = { | 580 | static struct resource bfin_uart_resources[] = { |
581 | #ifdef CONFIG_SERIAL_BFIN_UART0 | ||
581 | { | 582 | { |
582 | .start = 0xFFC00400, | 583 | .start = 0xFFC00400, |
583 | .end = 0xFFC004FF, | 584 | .end = 0xFFC004FF, |
584 | .flags = IORESOURCE_MEM, | 585 | .flags = IORESOURCE_MEM, |
585 | }, { | 586 | }, |
587 | #endif | ||
588 | #ifdef CONFIG_SERIAL_BFIN_UART1 | ||
589 | { | ||
586 | .start = 0xFFC02000, | 590 | .start = 0xFFC02000, |
587 | .end = 0xFFC020FF, | 591 | .end = 0xFFC020FF, |
588 | .flags = IORESOURCE_MEM, | 592 | .flags = IORESOURCE_MEM, |
589 | }, | 593 | }, |
594 | #endif | ||
590 | }; | 595 | }; |
591 | 596 | ||
592 | static struct platform_device bfin_uart_device = { | 597 | static struct platform_device bfin_uart_device = { |