diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-11-05 13:52:09 -0400 |
---|---|---|
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-11-17 04:01:31 -0500 |
commit | 2eb42d5c287f5e883a4b3ebe668ba880caa351e5 (patch) | |
tree | 05bba579ebdc9d945658f76f0b6476a65b69b3c3 /arch/arm/mach-imx/devices-imx27.h | |
parent | 9d3d945a8d5be2c915f646e8dff8422486a77030 (diff) |
ARM: imx: dynamically allocate mxc-ehci devices
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-imx/devices-imx27.h')
-rw-r--r-- | arch/arm/mach-imx/devices-imx27.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/devices-imx27.h b/arch/arm/mach-imx/devices-imx27.h index 646674485a0d..51b91553c590 100644 --- a/arch/arm/mach-imx/devices-imx27.h +++ b/arch/arm/mach-imx/devices-imx27.h | |||
@@ -43,6 +43,13 @@ extern const struct imx_mx2_camera_data imx27_mx2_camera_data __initconst; | |||
43 | #define imx27_add_mx2_camera(pdata) \ | 43 | #define imx27_add_mx2_camera(pdata) \ |
44 | imx_add_mx2_camera(&imx27_mx2_camera_data, pdata) | 44 | imx_add_mx2_camera(&imx27_mx2_camera_data, pdata) |
45 | 45 | ||
46 | extern const struct imx_mxc_ehci_data imx27_mxc_ehci_otg_data __initconst; | ||
47 | #define imx27_add_mxc_ehci_otg(pdata) \ | ||
48 | imx_add_mxc_ehci(&imx27_mxc_ehci_otg_data, pdata) | ||
49 | extern const struct imx_mxc_ehci_data imx27_mxc_ehci_hs_data[] __initconst; | ||
50 | #define imx27_add_mxc_ehci_hs(id, pdata) \ | ||
51 | imx_add_mxc_ehci(&imx27_mxc_ehci_hs_data[id - 1], pdata) | ||
52 | |||
46 | extern const struct imx_mxc_mmc_data imx27_mxc_mmc_data[] __initconst; | 53 | extern const struct imx_mxc_mmc_data imx27_mxc_mmc_data[] __initconst; |
47 | #define imx27_add_mxc_mmc(id, pdata) \ | 54 | #define imx27_add_mxc_mmc(id, pdata) \ |
48 | imx_add_mxc_mmc(&imx27_mxc_mmc_data[id], pdata) | 55 | imx_add_mxc_mmc(&imx27_mxc_mmc_data[id], pdata) |