diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-11-10 15:50:07 -0500 |
---|---|---|
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-11-17 04:01:37 -0500 |
commit | 224b8c83641c2f31e3efc9bc5956636cc42cadf7 (patch) | |
tree | 831e4ee5c1099cc7cb5cef3159f00bbb718c18de /arch/arm/mach-mx25/devices-imx25.h | |
parent | 2c20b9f19add2248dc867f1f78dcef1eb0944543 (diff) |
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/mach-mx25/devices-imx25.h')
-rw-r--r-- | arch/arm/mach-mx25/devices-imx25.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-mx25/devices-imx25.h b/arch/arm/mach-mx25/devices-imx25.h index ac343ae7fe43..448939aac02c 100644 --- a/arch/arm/mach-mx25/devices-imx25.h +++ b/arch/arm/mach-mx25/devices-imx25.h | |||
@@ -19,6 +19,10 @@ extern const struct imx_flexcan_data imx25_flexcan_data[] __initconst; | |||
19 | #define imx25_add_flexcan0(pdata) imx25_add_flexcan(0, pdata) | 19 | #define imx25_add_flexcan0(pdata) imx25_add_flexcan(0, pdata) |
20 | #define imx25_add_flexcan1(pdata) imx25_add_flexcan(1, pdata) | 20 | #define imx25_add_flexcan1(pdata) imx25_add_flexcan(1, pdata) |
21 | 21 | ||
22 | extern const struct imx_fsl_usb2_udc_data imx25_fsl_usb2_udc_data __initconst; | ||
23 | #define imx25_add_fsl_usb2_udc(pdata) \ | ||
24 | imx_add_fsl_usb2_udc(&imx25_fsl_usb2_udc_data, pdata) | ||
25 | |||
22 | extern const struct imx_imx_i2c_data imx25_imx_i2c_data[] __initconst; | 26 | extern const struct imx_imx_i2c_data imx25_imx_i2c_data[] __initconst; |
23 | #define imx25_add_imx_i2c(id, pdata) \ | 27 | #define imx25_add_imx_i2c(id, pdata) \ |
24 | imx_add_imx_i2c(&imx25_imx_i2c_data[id], pdata) | 28 | imx_add_imx_i2c(&imx25_imx_i2c_data[id], pdata) |