summaryrefslogtreecommitdiff
path: root/arch/arm/mach-at91/at91sam9263_devices.c
diff options
context:
space:
mode:
authorAnders Darander <anders@chargestorm.se>2011-11-30 07:47:44 (GMT)
committerNicolas Ferre <nicolas.ferre@atmel.com>2011-11-30 16:27:21 (GMT)
commit0e934e22f3fabb98c41737e2e30bd9db2668e935 (patch)
tree3972074f10a6f15db2ef786c81f34dbd024b5eda /arch/arm/mach-at91/at91sam9263_devices.c
parent1808958d27b1250295f01dff4997d8a8814adaab (diff)
downloadlinux-0e934e22f3fabb98c41737e2e30bd9db2668e935.tar.xz
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/at91sam9263_devices.c')
-rw-r--r--arch/arm/mach-at91/at91sam9263_devices.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-at91/at91sam9263_devices.c b/arch/arm/mach-at91/at91sam9263_devices.c
index ad017eb..d5fbac9 100644
--- a/arch/arm/mach-at91/at91sam9263_devices.c
+++ b/arch/arm/mach-at91/at91sam9263_devices.c
@@ -92,7 +92,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[] = {