diff options
Diffstat (limited to 'arch/arm/mach-at91')
-rw-r--r-- | arch/arm/mach-at91/at91cap9_devices.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-at91/at91sam9g45_devices.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-at91/at91sam9rl_devices.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-at91/at91cap9_devices.c b/arch/arm/mach-at91/at91cap9_devices.c index 9ffbf3a2dfea..21020ceb2f3a 100644 --- a/arch/arm/mach-at91/at91cap9_devices.c +++ b/arch/arm/mach-at91/at91cap9_devices.c | |||
@@ -171,7 +171,7 @@ void __init at91_add_device_usba(struct usba_platform_data *data) | |||
171 | */ | 171 | */ |
172 | usba_udc_data.pdata.vbus_pin = -EINVAL; | 172 | usba_udc_data.pdata.vbus_pin = -EINVAL; |
173 | usba_udc_data.pdata.num_ep = ARRAY_SIZE(usba_udc_ep); | 173 | usba_udc_data.pdata.num_ep = ARRAY_SIZE(usba_udc_ep); |
174 | memcpy(usba_udc_data.ep, usba_udc_ep, sizeof(usba_udc_ep));; | 174 | memcpy(usba_udc_data.ep, usba_udc_ep, sizeof(usba_udc_ep)); |
175 | 175 | ||
176 | if (data && data->vbus_pin > 0) { | 176 | if (data && data->vbus_pin > 0) { |
177 | at91_set_gpio_input(data->vbus_pin, 0); | 177 | at91_set_gpio_input(data->vbus_pin, 0); |
diff --git a/arch/arm/mach-at91/at91sam9g45_devices.c b/arch/arm/mach-at91/at91sam9g45_devices.c index 1e8f275c17f6..5e9f8a4c38df 100644 --- a/arch/arm/mach-at91/at91sam9g45_devices.c +++ b/arch/arm/mach-at91/at91sam9g45_devices.c | |||
@@ -256,7 +256,7 @@ void __init at91_add_device_usba(struct usba_platform_data *data) | |||
256 | { | 256 | { |
257 | usba_udc_data.pdata.vbus_pin = -EINVAL; | 257 | usba_udc_data.pdata.vbus_pin = -EINVAL; |
258 | usba_udc_data.pdata.num_ep = ARRAY_SIZE(usba_udc_ep); | 258 | usba_udc_data.pdata.num_ep = ARRAY_SIZE(usba_udc_ep); |
259 | memcpy(usba_udc_data.ep, usba_udc_ep, sizeof(usba_udc_ep));; | 259 | memcpy(usba_udc_data.ep, usba_udc_ep, sizeof(usba_udc_ep)); |
260 | 260 | ||
261 | if (data && data->vbus_pin > 0) { | 261 | if (data && data->vbus_pin > 0) { |
262 | at91_set_gpio_input(data->vbus_pin, 0); | 262 | at91_set_gpio_input(data->vbus_pin, 0); |
diff --git a/arch/arm/mach-at91/at91sam9rl_devices.c b/arch/arm/mach-at91/at91sam9rl_devices.c index 53aaa94df75a..c49262bddd85 100644 --- a/arch/arm/mach-at91/at91sam9rl_devices.c +++ b/arch/arm/mach-at91/at91sam9rl_devices.c | |||
@@ -145,7 +145,7 @@ void __init at91_add_device_usba(struct usba_platform_data *data) | |||
145 | */ | 145 | */ |
146 | usba_udc_data.pdata.vbus_pin = -EINVAL; | 146 | usba_udc_data.pdata.vbus_pin = -EINVAL; |
147 | usba_udc_data.pdata.num_ep = ARRAY_SIZE(usba_udc_ep); | 147 | usba_udc_data.pdata.num_ep = ARRAY_SIZE(usba_udc_ep); |
148 | memcpy(usba_udc_data.ep, usba_udc_ep, sizeof(usba_udc_ep));; | 148 | memcpy(usba_udc_data.ep, usba_udc_ep, sizeof(usba_udc_ep)); |
149 | 149 | ||
150 | if (data && data->vbus_pin > 0) { | 150 | if (data && data->vbus_pin > 0) { |
151 | at91_set_gpio_input(data->vbus_pin, 0); | 151 | at91_set_gpio_input(data->vbus_pin, 0); |