diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-08-23 05:25:52 -0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2010-10-01 03:33:02 -0400 |
commit | 00b57bf9786ca701508333112c8917d1e0860129 (patch) | |
tree | e38e028c40d92da2ffad8154bc6d9352d2672eb3 /arch/arm/mach-mx3/devices-imx31.h | |
parent | 40e2eda92178f58fd7da2866d3f346dcd2baafed (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-imx31.h')
-rw-r--r-- | arch/arm/mach-mx3/devices-imx31.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-mx3/devices-imx31.h b/arch/arm/mach-mx3/devices-imx31.h index eea425ff074e..de9598590eba 100644 --- a/arch/arm/mach-mx3/devices-imx31.h +++ b/arch/arm/mach-mx3/devices-imx31.h | |||
@@ -29,8 +29,9 @@ extern const struct imx_imx_uart_1irq_data imx31_imx_uart_data[] __initconst; | |||
29 | #define imx31_add_imx_uart3(pdata) imx31_add_imx_uart(3, pdata) | 29 | #define imx31_add_imx_uart3(pdata) imx31_add_imx_uart(3, pdata) |
30 | #define imx31_add_imx_uart4(pdata) imx31_add_imx_uart(4, pdata) | 30 | #define imx31_add_imx_uart4(pdata) imx31_add_imx_uart(4, pdata) |
31 | 31 | ||
32 | extern const struct imx_mxc_nand_data imx31_mxc_nand_data __initconst; | ||
32 | #define imx31_add_mxc_nand(pdata) \ | 33 | #define imx31_add_mxc_nand(pdata) \ |
33 | imx_add_mxc_nand_v1(MX31_NFC_BASE_ADDR, MX31_INT_NANDFC, pdata) | 34 | imx_add_mxc_nand(&imx31_mxc_nand_data, pdata) |
34 | 35 | ||
35 | extern const struct imx_spi_imx_data imx31_cspi_data[] __initconst; | 36 | extern const struct imx_spi_imx_data imx31_cspi_data[] __initconst; |
36 | #define imx31_add_cspi(id, pdata) \ | 37 | #define imx31_add_cspi(id, pdata) \ |