diff options
-rw-r--r-- | arch/avr32/mach-at32ap/at32ap700x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/avr32/mach-at32ap/at32ap700x.c b/arch/avr32/mach-at32ap/at32ap700x.c index 3fbfd1e32a9e..402cae8f9205 100644 --- a/arch/avr32/mach-at32ap/at32ap700x.c +++ b/arch/avr32/mach-at32ap/at32ap700x.c | |||
@@ -1753,7 +1753,7 @@ at32_add_device_usba(unsigned int id, struct usba_platform_data *data) | |||
1753 | if (platform_device_add_data(pdev, data, sizeof(usba_data))) | 1753 | if (platform_device_add_data(pdev, data, sizeof(usba_data))) |
1754 | goto out_free_pdev; | 1754 | goto out_free_pdev; |
1755 | 1755 | ||
1756 | if (data->vbus_pin >= 0) | 1756 | if (gpio_is_valid(data->vbus_pin)) |
1757 | at32_select_gpio(data->vbus_pin, 0); | 1757 | at32_select_gpio(data->vbus_pin, 0); |
1758 | 1758 | ||
1759 | usba0_pclk.dev = &pdev->dev; | 1759 | usba0_pclk.dev = &pdev->dev; |