summaryrefslogtreecommitdiff
path: root/arch/arm/mach-imx/devices-imx27.h
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-11-02 19:50:55 +0300
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-11-17 12:01:24 +0300
commitb2997cb12b302ee6d233808e32214d00afdcf128 (patch)
treee9c7896465e257f72846fb0c5b89ed33fb8593ec /arch/arm/mach-imx/devices-imx27.h
parent3bde75b5370bd69fd7f07a8e254bef05b1b5b219 (diff)
downloadlinux-b2997cb12b302ee6d233808e32214d00afdcf128.tar.xz
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.h4
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;
#define imx27_add_imx_uart4(pdata) imx27_add_imx_uart(4, pdata)
#define imx27_add_imx_uart5(pdata) imx27_add_imx_uart(5, pdata)
+extern const struct imx_mx2_camera_data imx27_mx2_camera_data __initconst;
+#define imx27_add_mx2_camera(pdata) \
+ imx_add_mx2_camera(&imx27_mx2_camera_data, pdata)
+
extern const struct imx_mxc_nand_data imx27_mxc_nand_data __initconst;
#define imx27_add_mxc_nand(pdata) \
imx_add_mxc_nand(&imx27_mxc_nand_data, pdata)