summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-mxc/devices
diff options
context:
space:
mode:
authorUwe Kleine-König2011-07-30 23:57:25 +0200
committerUwe Kleine-König2011-08-01 11:16:55 +0200
commit6cafe48a6bfa8934d5564fbf9976a51040dac819 (patch)
tree4975eb00698283fd3b256963726de2dba513062f /arch/arm/plat-mxc/devices
parentARM: mx5: dynamically allocate mxc-ehci devices (diff)
downloadkernel-qcow2-linux-6cafe48a6bfa8934d5564fbf9976a51040dac819.tar.gz
kernel-qcow2-linux-6cafe48a6bfa8934d5564fbf9976a51040dac819.tar.xz
kernel-qcow2-linux-6cafe48a6bfa8934d5564fbf9976a51040dac819.zip
ARM: mx5: 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/devices')
-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 23ce08e6ffd2..848038f301fd 100644
--- a/arch/arm/plat-mxc/devices/platform-fsl-usb2-udc.c
+++ b/arch/arm/plat-mxc/devices/platform-fsl-usb2-udc.c
@@ -36,6 +36,11 @@ const struct imx_fsl_usb2_udc_data imx35_fsl_usb2_udc_data __initconst =
imx_fsl_usb2_udc_data_entry_single(MX35);
#endif /* ifdef CONFIG_SOC_IMX35 */
+#ifdef CONFIG_SOC_IMX51
+const struct imx_fsl_usb2_udc_data imx51_fsl_usb2_udc_data __initconst =
+ imx_fsl_usb2_udc_data_entry_single(MX51);
+#endif
+
struct platform_device *__init imx_add_fsl_usb2_udc(
const struct imx_fsl_usb2_udc_data *data,
const struct fsl_usb2_platform_data *pdata)