diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2011-07-30 17:57:25 -0400 |
---|---|---|
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2011-08-01 05:16:55 -0400 |
commit | 6cafe48a6bfa8934d5564fbf9976a51040dac819 (patch) | |
tree | 4975eb00698283fd3b256963726de2dba513062f /arch/arm/plat-mxc/devices | |
parent | 7d92e8e6c4d45d33dd32a028081c89a6dedab032 (diff) |
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.c | 5 |
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 = | |||
36 | imx_fsl_usb2_udc_data_entry_single(MX35); | 36 | imx_fsl_usb2_udc_data_entry_single(MX35); |
37 | #endif /* ifdef CONFIG_SOC_IMX35 */ | 37 | #endif /* ifdef CONFIG_SOC_IMX35 */ |
38 | 38 | ||
39 | #ifdef CONFIG_SOC_IMX51 | ||
40 | const struct imx_fsl_usb2_udc_data imx51_fsl_usb2_udc_data __initconst = | ||
41 | imx_fsl_usb2_udc_data_entry_single(MX51); | ||
42 | #endif | ||
43 | |||
39 | struct platform_device *__init imx_add_fsl_usb2_udc( | 44 | struct platform_device *__init imx_add_fsl_usb2_udc( |
40 | const struct imx_fsl_usb2_udc_data *data, | 45 | const struct imx_fsl_usb2_udc_data *data, |
41 | const struct fsl_usb2_platform_data *pdata) | 46 | const struct fsl_usb2_platform_data *pdata) |