diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2010-08-03 05:59:46 -0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2010-10-01 03:33:03 -0400 |
commit | 63a7c6d7507ed6f4ea24a8ed008efa1bb22a2a97 (patch) | |
tree | 4824f195ebc2856bc9613624c31e5d5fac6de595 /arch/arm/mach-mx5 | |
parent | 00b57bf9786ca701508333112c8917d1e0860129 (diff) |
ARM: mx5: dynamically register mxc-nand device
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-mx5')
-rw-r--r-- | arch/arm/mach-mx5/devices-imx51.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-mx5/devices-imx51.h b/arch/arm/mach-mx5/devices-imx51.h index 782b45bd916b..41d93c3d7d0b 100644 --- a/arch/arm/mach-mx5/devices-imx51.h +++ b/arch/arm/mach-mx5/devices-imx51.h | |||
@@ -21,6 +21,10 @@ extern const struct imx_imx_uart_1irq_data imx51_imx_uart_data[] __initconst; | |||
21 | #define imx51_add_imx_uart(id, pdata) \ | 21 | #define imx51_add_imx_uart(id, pdata) \ |
22 | imx_add_imx_uart_1irq(&imx51_imx_uart_data[id], pdata) | 22 | imx_add_imx_uart_1irq(&imx51_imx_uart_data[id], pdata) |
23 | 23 | ||
24 | extern const struct imx_mxc_nand_data imx51_mxc_nand_data __initconst; | ||
25 | #define imx51_add_mxc_nand(pdata) \ | ||
26 | imx_add_mxc_nand(&imx51_mxc_nand_data, pdata) | ||
27 | |||
24 | extern const struct imx_spi_imx_data imx51_cspi_data __initconst; | 28 | extern const struct imx_spi_imx_data imx51_cspi_data __initconst; |
25 | #define imx51_add_cspi(pdata) \ | 29 | #define imx51_add_cspi(pdata) \ |
26 | imx_add_spi_imx(&imx51_cspi_data, pdata) | 30 | imx_add_spi_imx(&imx51_cspi_data, pdata) |