aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mx3/devices-imx35.h
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-08-23 05:25:52 -0400
committerSascha Hauer <s.hauer@pengutronix.de>2010-10-01 03:33:02 -0400
commit00b57bf9786ca701508333112c8917d1e0860129 (patch)
treee38e028c40d92da2ffad8154bc6d9352d2672eb3 /arch/arm/mach-mx3/devices-imx35.h
parent40e2eda92178f58fd7da2866d3f346dcd2baafed (diff)
ARM: imx: reorganize nand registration to use a struct
Addiontionally make the interrupt #defines match the base address defines MX.._NFC_BASE_ADDR. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx3/devices-imx35.h')
-rw-r--r--arch/arm/mach-mx3/devices-imx35.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-mx3/devices-imx35.h b/arch/arm/mach-mx3/devices-imx35.h
index f187d3552738..56404de907f9 100644
--- a/arch/arm/mach-mx3/devices-imx35.h
+++ b/arch/arm/mach-mx3/devices-imx35.h
@@ -32,8 +32,9 @@ extern const struct imx_imx_uart_1irq_data imx35_imx_uart_data[] __initconst;
32#define imx35_add_imx_uart1(pdata) imx35_add_imx_uart(1, pdata) 32#define imx35_add_imx_uart1(pdata) imx35_add_imx_uart(1, pdata)
33#define imx35_add_imx_uart2(pdata) imx35_add_imx_uart(2, pdata) 33#define imx35_add_imx_uart2(pdata) imx35_add_imx_uart(2, pdata)
34 34
35extern const struct imx_mxc_nand_data imx35_mxc_nand_data __initconst;
35#define imx35_add_mxc_nand(pdata) \ 36#define imx35_add_mxc_nand(pdata) \
36 imx_add_mxc_nand_v21(MX35_NFC_BASE_ADDR, MX35_INT_NANDFC, pdata) 37 imx_add_mxc_nand(&imx35_mxc_nand_data, pdata)
37 38
38extern const struct imx_spi_imx_data imx35_cspi_data[] __initconst; 39extern const struct imx_spi_imx_data imx35_cspi_data[] __initconst;
39#define imx35_add_cspi(id, pdata) \ 40#define imx35_add_cspi(id, pdata) \