diff options
Diffstat (limited to 'arch/blackfin/mach-bf527/boards/ezbrd.c')
-rw-r--r-- | arch/blackfin/mach-bf527/boards/ezbrd.c | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/arch/blackfin/mach-bf527/boards/ezbrd.c b/arch/blackfin/mach-bf527/boards/ezbrd.c index 64f7278aba53..9f792eafd1cc 100644 --- a/arch/blackfin/mach-bf527/boards/ezbrd.c +++ b/arch/blackfin/mach-bf527/boards/ezbrd.c | |||
@@ -7,6 +7,7 @@ | |||
7 | */ | 7 | */ |
8 | 8 | ||
9 | #include <linux/device.h> | 9 | #include <linux/device.h> |
10 | #include <linux/export.h> | ||
10 | #include <linux/platform_device.h> | 11 | #include <linux/platform_device.h> |
11 | #include <linux/mtd/mtd.h> | 12 | #include <linux/mtd/mtd.h> |
12 | #include <linux/mtd/partitions.h> | 13 | #include <linux/mtd/partitions.h> |
@@ -417,8 +418,13 @@ static struct resource bfin_uart0_resources[] = { | |||
417 | .flags = IORESOURCE_MEM, | 418 | .flags = IORESOURCE_MEM, |
418 | }, | 419 | }, |
419 | { | 420 | { |
421 | .start = IRQ_UART0_TX, | ||
422 | .end = IRQ_UART0_TX, | ||
423 | .flags = IORESOURCE_IRQ, | ||
424 | }, | ||
425 | { | ||
420 | .start = IRQ_UART0_RX, | 426 | .start = IRQ_UART0_RX, |
421 | .end = IRQ_UART0_RX+1, | 427 | .end = IRQ_UART0_RX, |
422 | .flags = IORESOURCE_IRQ, | 428 | .flags = IORESOURCE_IRQ, |
423 | }, | 429 | }, |
424 | { | 430 | { |
@@ -460,8 +466,13 @@ static struct resource bfin_uart1_resources[] = { | |||
460 | .flags = IORESOURCE_MEM, | 466 | .flags = IORESOURCE_MEM, |
461 | }, | 467 | }, |
462 | { | 468 | { |
469 | .start = IRQ_UART1_TX, | ||
470 | .end = IRQ_UART1_TX, | ||
471 | .flags = IORESOURCE_IRQ, | ||
472 | }, | ||
473 | { | ||
463 | .start = IRQ_UART1_RX, | 474 | .start = IRQ_UART1_RX, |
464 | .end = IRQ_UART1_RX+1, | 475 | .end = IRQ_UART1_RX, |
465 | .flags = IORESOURCE_IRQ, | 476 | .flags = IORESOURCE_IRQ, |
466 | }, | 477 | }, |
467 | { | 478 | { |
@@ -674,7 +685,6 @@ static struct platform_device bfin_sport1_uart_device = { | |||
674 | #if defined(CONFIG_KEYBOARD_GPIO) || defined(CONFIG_KEYBOARD_GPIO_MODULE) | 685 | #if defined(CONFIG_KEYBOARD_GPIO) || defined(CONFIG_KEYBOARD_GPIO_MODULE) |
675 | #include <linux/input.h> | 686 | #include <linux/input.h> |
676 | #include <linux/gpio_keys.h> | 687 | #include <linux/gpio_keys.h> |
677 | #include <linux/export.h> | ||
678 | 688 | ||
679 | static struct gpio_keys_button bfin_gpio_keys_table[] = { | 689 | static struct gpio_keys_button bfin_gpio_keys_table[] = { |
680 | {BTN_0, GPIO_PG0, 1, "gpio-keys: BTN0"}, | 690 | {BTN_0, GPIO_PG0, 1, "gpio-keys: BTN0"}, |