diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2010-08-03 09:59:46 (GMT) |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2010-10-01 07:33:03 (GMT) |
commit | 63a7c6d7507ed6f4ea24a8ed008efa1bb22a2a97 (patch) | |
tree | 4824f195ebc2856bc9613624c31e5d5fac6de595 /arch/arm/mach-mx5/devices-imx51.h | |
parent | 00b57bf9786ca701508333112c8917d1e0860129 (diff) | |
download | linux-63a7c6d7507ed6f4ea24a8ed008efa1bb22a2a97.tar.xz |
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/devices-imx51.h')
-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 782b45b..41d93c3 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; #define imx51_add_imx_uart(id, pdata) \ imx_add_imx_uart_1irq(&imx51_imx_uart_data[id], pdata) +extern const struct imx_mxc_nand_data imx51_mxc_nand_data __initconst; +#define imx51_add_mxc_nand(pdata) \ + imx_add_mxc_nand(&imx51_mxc_nand_data, pdata) + extern const struct imx_spi_imx_data imx51_cspi_data __initconst; #define imx51_add_cspi(pdata) \ imx_add_spi_imx(&imx51_cspi_data, pdata) |