summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/at91sam9260_devices.c
diff options
context:
space:
mode:
authorAnders Darander <anders@chargestorm.se>2011-11-30 08:47:44 +0100
committerNicolas Ferre <nicolas.ferre@atmel.com>2011-11-30 17:27:21 +0100
commit0e934e22f3fabb98c41737e2e30bd9db2668e935 (patch)
tree3972074f10a6f15db2ef786c81f34dbd024b5eda /arch/arm/mach-at91/at91sam9260_devices.c
parentARM: at91: fix clock conid for atmel_tcb.1 on 9260/9g20 (diff)
downloadlinux-0e934e22f3fabb98c41737e2e30bd9db2668e935.tar.xz
linux-0e934e22f3fabb98c41737e2e30bd9db2668e935.zip
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.c2
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[] = {