summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-mxc
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-11-10 21:50:07 +0100
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-11-17 10:01:37 +0100
commit224b8c83641c2f31e3efc9bc5956636cc42cadf7 (patch)
tree831e4ee5c1099cc7cb5cef3159f00bbb718c18de /arch/arm/plat-mxc
parent2c20b9f19add2248dc867f1f78dcef1eb0944543 (diff)
downloadblackbird-op-linux-224b8c83641c2f31e3efc9bc5956636cc42cadf7.tar.gz
blackbird-op-linux-224b8c83641c2f31e3efc9bc5956636cc42cadf7.zip
ARM: mx25: dynamically allocate fsl-usb2-udc devices
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch/arm/plat-mxc')
-rw-r--r--arch/arm/plat-mxc/devices/platform-fsl-usb2-udc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/plat-mxc/devices/platform-fsl-usb2-udc.c b/arch/arm/plat-mxc/devices/platform-fsl-usb2-udc.c
index 3116f9ad263f..cb5fb710e850 100644
--- a/arch/arm/plat-mxc/devices/platform-fsl-usb2-udc.c
+++ b/arch/arm/plat-mxc/devices/platform-fsl-usb2-udc.c
@@ -15,6 +15,11 @@
.irq = soc ## _INT_USB_OTG, \
}
+#ifdef CONFIG_ARCH_MX25
+const struct imx_fsl_usb2_udc_data imx25_fsl_usb2_udc_data __initconst =
+ imx_fsl_usb2_udc_data_entry_single(MX25);
+#endif
+
#ifdef CONFIG_SOC_IMX27
const struct imx_fsl_usb2_udc_data imx27_fsl_usb2_udc_data __initconst =
imx_fsl_usb2_udc_data_entry_single(MX27);
OpenPOWER on IntegriCloud