]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/arm/mach-at91/at91sam9261_devices.c
ARM: at91: Fix USB AT91 gadget registration
[karo-tx-linux.git] / arch / arm / mach-at91 / at91sam9261_devices.c
index 0f917928eeb7782510f7b590d8e627a8b319795a..9e113f60d25ca4b2f9321f4ab890b2b9a2dfc7f4 100644 (file)
@@ -79,7 +79,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[] = {