summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/at91sam9261_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/at91sam9261_devices.c
parent1808958d27b1250295f01dff4997d8a8814adaab (diff)
downloadop-kernel-dev-0e934e22f3fabb98c41737e2e30bd9db2668e935.zip
op-kernel-dev-0e934e22f3fabb98c41737e2e30bd9db2668e935.tar.gz
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/at91sam9261_devices.c')
-rw-r--r--arch/arm/mach-at91/at91sam9261_devices.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-at91/at91sam9261_devices.c b/arch/arm/mach-at91/at91sam9261_devices.c
index ae78f4d..a178b58 100644
--- a/arch/arm/mach-at91/at91sam9261_devices.c
+++ b/arch/arm/mach-at91/at91sam9261_devices.c
@@ -87,7 +87,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[] = {
OpenPOWER on IntegriCloud