diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-11-02 12:50:55 -0400 |
---|---|---|
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-11-17 04:01:24 -0500 |
commit | b2997cb12b302ee6d233808e32214d00afdcf128 (patch) | |
tree | e9c7896465e257f72846fb0c5b89ed33fb8593ec /arch/arm/mach-imx/devices-imx27.h | |
parent | 3bde75b5370bd69fd7f07a8e254bef05b1b5b219 (diff) |
ARM: imx: dynamically allocate mx2-camera device
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 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/devices-imx27.h b/arch/arm/mach-imx/devices-imx27.h index b957e78e052b..84b3405e982d 100644 --- a/arch/arm/mach-imx/devices-imx27.h +++ b/arch/arm/mach-imx/devices-imx27.h | |||
@@ -31,6 +31,10 @@ extern const struct imx_imx_uart_1irq_data imx27_imx_uart_data[] __initconst; | |||
31 | #define imx27_add_imx_uart4(pdata) imx27_add_imx_uart(4, pdata) | 31 | #define imx27_add_imx_uart4(pdata) imx27_add_imx_uart(4, pdata) |
32 | #define imx27_add_imx_uart5(pdata) imx27_add_imx_uart(5, pdata) | 32 | #define imx27_add_imx_uart5(pdata) imx27_add_imx_uart(5, pdata) |
33 | 33 | ||
34 | extern const struct imx_mx2_camera_data imx27_mx2_camera_data __initconst; | ||
35 | #define imx27_add_mx2_camera(pdata) \ | ||
36 | imx_add_mx2_camera(&imx27_mx2_camera_data, pdata) | ||
37 | |||
34 | extern const struct imx_mxc_nand_data imx27_mxc_nand_data __initconst; | 38 | extern const struct imx_mxc_nand_data imx27_mxc_nand_data __initconst; |
35 | #define imx27_add_mxc_nand(pdata) \ | 39 | #define imx27_add_mxc_nand(pdata) \ |
36 | imx_add_mxc_nand(&imx27_mxc_nand_data, pdata) | 40 | imx_add_mxc_nand(&imx27_mxc_nand_data, pdata) |