diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-11-11 11:11:34 -0500 |
---|---|---|
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-11-19 15:53:48 -0500 |
commit | bb4c853ff18fe3b0e2aec45053c318479e0c55e3 (patch) | |
tree | fd5a90eeacaf73be2d121ff1c5d3a9db2cb5e80b /arch/arm/mach-mx25/devices-imx25.h | |
parent | 00871505dcf15418aebc402db9f124dd2738fa2d (diff) |
ARM: mx25: dynamically allocate mx2-camera 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 bf70548caf04..953e1ce5334f 100644 --- a/arch/arm/mach-mx25/devices-imx25.h +++ b/arch/arm/mach-mx25/devices-imx25.h | |||
@@ -59,6 +59,10 @@ extern const struct imx_imx_uart_1irq_data imx25_imx_uart_data[] __initconst; | |||
59 | #define imx25_add_imx_uart3(pdata) imx25_add_imx_uart(3, pdata) | 59 | #define imx25_add_imx_uart3(pdata) imx25_add_imx_uart(3, pdata) |
60 | #define imx25_add_imx_uart4(pdata) imx25_add_imx_uart(4, pdata) | 60 | #define imx25_add_imx_uart4(pdata) imx25_add_imx_uart(4, pdata) |
61 | 61 | ||
62 | extern const struct imx_mx2_camera_data imx25_mx2_camera_data __initconst; | ||
63 | #define imx25_add_mx2_camera(pdata) \ | ||
64 | imx_add_mx2_camera(&imx25_mx2_camera_data, pdata) | ||
65 | |||
62 | extern const struct imx_mxc_ehci_data imx25_mxc_ehci_otg_data __initconst; | 66 | extern const struct imx_mxc_ehci_data imx25_mxc_ehci_otg_data __initconst; |
63 | #define imx25_add_mxc_ehci_otg(pdata) \ | 67 | #define imx25_add_mxc_ehci_otg(pdata) \ |
64 | imx_add_mxc_ehci(&imx25_mxc_ehci_otg_data, pdata) | 68 | imx_add_mxc_ehci(&imx25_mxc_ehci_otg_data, pdata) |