diff options
Diffstat (limited to 'arch/blackfin/mach-bf527/boards/cm_bf527.c')
-rw-r--r-- | arch/blackfin/mach-bf527/boards/cm_bf527.c | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/arch/blackfin/mach-bf527/boards/cm_bf527.c b/arch/blackfin/mach-bf527/boards/cm_bf527.c index 6410fc1af8ed..cd289698b4dd 100644 --- a/arch/blackfin/mach-bf527/boards/cm_bf527.c +++ b/arch/blackfin/mach-bf527/boards/cm_bf527.c | |||
@@ -8,6 +8,7 @@ | |||
8 | */ | 8 | */ |
9 | 9 | ||
10 | #include <linux/device.h> | 10 | #include <linux/device.h> |
11 | #include <linux/export.h> | ||
11 | #include <linux/platform_device.h> | 12 | #include <linux/platform_device.h> |
12 | #include <linux/mtd/mtd.h> | 13 | #include <linux/mtd/mtd.h> |
13 | #include <linux/mtd/partitions.h> | 14 | #include <linux/mtd/partitions.h> |
@@ -539,8 +540,13 @@ static struct resource bfin_uart0_resources[] = { | |||
539 | .flags = IORESOURCE_MEM, | 540 | .flags = IORESOURCE_MEM, |
540 | }, | 541 | }, |
541 | { | 542 | { |
543 | .start = IRQ_UART0_TX, | ||
544 | .end = IRQ_UART0_TX, | ||
545 | .flags = IORESOURCE_IRQ, | ||
546 | }, | ||
547 | { | ||
542 | .start = IRQ_UART0_RX, | 548 | .start = IRQ_UART0_RX, |
543 | .end = IRQ_UART0_RX+1, | 549 | .end = IRQ_UART0_RX, |
544 | .flags = IORESOURCE_IRQ, | 550 | .flags = IORESOURCE_IRQ, |
545 | }, | 551 | }, |
546 | { | 552 | { |
@@ -582,8 +588,13 @@ static struct resource bfin_uart1_resources[] = { | |||
582 | .flags = IORESOURCE_MEM, | 588 | .flags = IORESOURCE_MEM, |
583 | }, | 589 | }, |
584 | { | 590 | { |
591 | .start = IRQ_UART1_TX, | ||
592 | .end = IRQ_UART1_TX, | ||
593 | .flags = IORESOURCE_IRQ, | ||
594 | }, | ||
595 | { | ||
585 | .start = IRQ_UART1_RX, | 596 | .start = IRQ_UART1_RX, |
586 | .end = IRQ_UART1_RX+1, | 597 | .end = IRQ_UART1_RX, |
587 | .flags = IORESOURCE_IRQ, | 598 | .flags = IORESOURCE_IRQ, |
588 | }, | 599 | }, |
589 | { | 600 | { |
@@ -801,7 +812,6 @@ static struct platform_device bfin_sport1_uart_device = { | |||
801 | #if defined(CONFIG_KEYBOARD_GPIO) || defined(CONFIG_KEYBOARD_GPIO_MODULE) | 812 | #if defined(CONFIG_KEYBOARD_GPIO) || defined(CONFIG_KEYBOARD_GPIO_MODULE) |
802 | #include <linux/input.h> | 813 | #include <linux/input.h> |
803 | #include <linux/gpio_keys.h> | 814 | #include <linux/gpio_keys.h> |
804 | #include <linux/export.h> | ||
805 | 815 | ||
806 | static struct gpio_keys_button bfin_gpio_keys_table[] = { | 816 | static struct gpio_keys_button bfin_gpio_keys_table[] = { |
807 | {BTN_0, GPIO_PF14, 1, "gpio-keys: BTN0"}, | 817 | {BTN_0, GPIO_PF14, 1, "gpio-keys: BTN0"}, |