]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/arm/mach-at91/at91rm9200_devices.c
ARM: at91: USB AT91 gadget registration for module
[karo-tx-linux.git] / arch / arm / mach-at91 / at91rm9200_devices.c
index 18bacec2b094c202bc9dd60be5b69be0c56a683f..97676bdae9983c98b79f77cb85dd88e833756789 100644 (file)
@@ -83,7 +83,7 @@ void __init at91_add_device_usbh(struct at91_usbh_data *data) {}
  *  USB Device (Gadget)
  * -------------------------------------------------------------------- */
 
-#ifdef CONFIG_USB_AT91
+#if defined(CONFIG_USB_AT91) || defined(CONFIG_USB_AT91_MODULE)
 static struct at91_udc_data udc_data;
 
 static struct resource udc_resources[] = {