diff options
author | Anders Darander <anders@chargestorm.se> | 2011-11-30 08:47:44 +0100 |
---|---|---|
committer | Nicolas Ferre <nicolas.ferre@atmel.com> | 2011-11-30 17:27:21 +0100 |
commit | 0e934e22f3fabb98c41737e2e30bd9db2668e935 (patch) | |
tree | 3972074f10a6f15db2ef786c81f34dbd024b5eda /arch/arm/mach-at91/at91sam9260_devices.c | |
parent | 1808958d27b1250295f01dff4997d8a8814adaab (diff) | |
download | linux-0e934e22f3fabb98c41737e2e30bd9db2668e935.tar.bz2 |
ARM: at91: Fix USB AT91 gadget registration
Since 193ab2a6070039e7ee2b9b9bebea754a7c52fd1b, various AT91 boards don't
register at91_udc anymore due to depending on a now non-existing symbol.
Fix the symbol name.
Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: stable <stable@vger.kernel.org>
Diffstat (limited to 'arch/arm/mach-at91/at91sam9260_devices.c')
-rw-r--r-- | arch/arm/mach-at91/at91sam9260_devices.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-at91/at91sam9260_devices.c b/arch/arm/mach-at91/at91sam9260_devices.c index 25e3464fb07f..629fa9774972 100644 --- a/arch/arm/mach-at91/at91sam9260_devices.c +++ b/arch/arm/mach-at91/at91sam9260_devices.c @@ -84,7 +84,7 @@ void __init at91_add_device_usbh(struct at91_usbh_data *data) {} * USB Device (Gadget) * -------------------------------------------------------------------- */ -#ifdef CONFIG_USB_GADGET_AT91 +#ifdef CONFIG_USB_AT91 static struct at91_udc_data udc_data; static struct resource udc_resources[] = { |