diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-11-11 19:11:34 +0300 |
---|---|---|
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-11-19 23:53:48 +0300 |
commit | bb4c853ff18fe3b0e2aec45053c318479e0c55e3 (patch) | |
tree | fd5a90eeacaf73be2d121ff1c5d3a9db2cb5e80b /arch/arm/mach-mx25/devices-imx25.h | |
parent | 00871505dcf15418aebc402db9f124dd2738fa2d (diff) | |
download | linux-bb4c853ff18fe3b0e2aec45053c318479e0c55e3.tar.xz |
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; #define imx25_add_imx_uart3(pdata) imx25_add_imx_uart(3, pdata) #define imx25_add_imx_uart4(pdata) imx25_add_imx_uart(4, pdata) +extern const struct imx_mx2_camera_data imx25_mx2_camera_data __initconst; +#define imx25_add_mx2_camera(pdata) \ + imx_add_mx2_camera(&imx25_mx2_camera_data, pdata) + extern const struct imx_mxc_ehci_data imx25_mxc_ehci_otg_data __initconst; #define imx25_add_mxc_ehci_otg(pdata) \ imx_add_mxc_ehci(&imx25_mxc_ehci_otg_data, pdata) |