diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-02-11 16:31:49 +0100 |
---|---|---|
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-02-24 10:05:38 +0100 |
commit | 3636a145321573f2f735e3ae69f87e0fb166abec (patch) | |
tree | 90be2285c66900ef18cc870428cc86297242cde9 /arch/arm/mach-mx2/mach-mx21ads.c | |
parent | f0d3ab49110327516b7f0b6d27fd33d6fa079d6c (diff) | |
download | blackbird-op-linux-3636a145321573f2f735e3ae69f87e0fb166abec.tar.gz blackbird-op-linux-3636a145321573f2f735e3ae69f87e0fb166abec.zip |
arm/mx2: use per-SOC nand device
The previous commit introduced one nand device per SoC. Use this
directly instead of the compatibility macro that will break for
multi-SoC kernels. And while at it remove the compatibility macro now
that all in-tree users are fixed.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx2/mach-mx21ads.c')
-rw-r--r-- | arch/arm/mach-mx2/mach-mx21ads.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-mx2/mach-mx21ads.c b/arch/arm/mach-mx2/mach-mx21ads.c index d5eb8065df3e..393bc075c526 100644 --- a/arch/arm/mach-mx2/mach-mx21ads.c +++ b/arch/arm/mach-mx2/mach-mx21ads.c @@ -268,7 +268,7 @@ static void __init mx21ads_board_init(void) mxc_register_device(&mxc_uart_device3, &uart_pdata); mxc_register_device(&mxc_fb_device, &mx21ads_fb_data); mxc_register_device(&mxc_sdhc_device0, &mx21ads_sdhc_pdata); - mxc_register_device(&mxc_nand_device, &mx21ads_nand_board_info); + mxc_register_device(&imx21_nand_device, &mx21ads_nand_board_info); platform_add_devices(platform_devices, ARRAY_SIZE(platform_devices)); } |