diff options
Diffstat (limited to 'arch/arm/mach-at91/at91sam9g45_devices.c')
-rw-r--r-- | arch/arm/mach-at91/at91sam9g45_devices.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |