diff options
Diffstat (limited to 'arch/arm/mach-at91/at91sam9261_devices.c')
| -rw-r--r-- | arch/arm/mach-at91/at91sam9261_devices.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/mach-at91/at91sam9261_devices.c b/arch/arm/mach-at91/at91sam9261_devices.c index b9487696b7be..92e0f861084a 100644 --- a/arch/arm/mach-at91/at91sam9261_devices.c +++ b/arch/arm/mach-at91/at91sam9261_devices.c | |||
| @@ -21,12 +21,12 @@ | |||
| 21 | #include <linux/fb.h> | 21 | #include <linux/fb.h> |
| 22 | #include <video/atmel_lcdc.h> | 22 | #include <video/atmel_lcdc.h> |
| 23 | 23 | ||
| 24 | #include <mach/board.h> | ||
| 25 | #include <mach/at91sam9261.h> | 24 | #include <mach/at91sam9261.h> |
| 26 | #include <mach/at91sam9261_matrix.h> | 25 | #include <mach/at91sam9261_matrix.h> |
| 27 | #include <mach/at91_matrix.h> | 26 | #include <mach/at91_matrix.h> |
| 28 | #include <mach/at91sam9_smc.h> | 27 | #include <mach/at91sam9_smc.h> |
| 29 | 28 | ||
| 29 | #include "board.h" | ||
| 30 | #include "generic.h" | 30 | #include "generic.h" |
| 31 | 31 | ||
| 32 | 32 | ||
| @@ -72,7 +72,7 @@ void __init at91_add_device_usbh(struct at91_usbh_data *data) | |||
| 72 | 72 | ||
| 73 | /* Enable overcurrent notification */ | 73 | /* Enable overcurrent notification */ |
| 74 | for (i = 0; i < data->ports; i++) { | 74 | for (i = 0; i < data->ports; i++) { |
| 75 | if (data->overcurrent_pin[i]) | 75 | if (gpio_is_valid(data->overcurrent_pin[i])) |
| 76 | at91_set_gpio_input(data->overcurrent_pin[i], 1); | 76 | at91_set_gpio_input(data->overcurrent_pin[i], 1); |
| 77 | } | 77 | } |
| 78 | 78 | ||
| @@ -706,7 +706,7 @@ static struct resource ssc0_resources[] = { | |||
| 706 | }; | 706 | }; |
| 707 | 707 | ||
| 708 | static struct platform_device at91sam9261_ssc0_device = { | 708 | static struct platform_device at91sam9261_ssc0_device = { |
| 709 | .name = "ssc", | 709 | .name = "at91rm9200_ssc", |
| 710 | .id = 0, | 710 | .id = 0, |
| 711 | .dev = { | 711 | .dev = { |
| 712 | .dma_mask = &ssc0_dmamask, | 712 | .dma_mask = &ssc0_dmamask, |
| @@ -748,7 +748,7 @@ static struct resource ssc1_resources[] = { | |||
| 748 | }; | 748 | }; |
| 749 | 749 | ||
| 750 | static struct platform_device at91sam9261_ssc1_device = { | 750 | static struct platform_device at91sam9261_ssc1_device = { |
| 751 | .name = "ssc", | 751 | .name = "at91rm9200_ssc", |
| 752 | .id = 1, | 752 | .id = 1, |
| 753 | .dev = { | 753 | .dev = { |
| 754 | .dma_mask = &ssc1_dmamask, | 754 | .dma_mask = &ssc1_dmamask, |
| @@ -790,7 +790,7 @@ static struct resource ssc2_resources[] = { | |||
| 790 | }; | 790 | }; |
| 791 | 791 | ||
| 792 | static struct platform_device at91sam9261_ssc2_device = { | 792 | static struct platform_device at91sam9261_ssc2_device = { |
| 793 | .name = "ssc", | 793 | .name = "at91rm9200_ssc", |
| 794 | .id = 2, | 794 | .id = 2, |
| 795 | .dev = { | 795 | .dev = { |
| 796 | .dma_mask = &ssc2_dmamask, | 796 | .dma_mask = &ssc2_dmamask, |
