diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-02-11 10:31:49 -0500 |
---|---|---|
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-02-24 04:05:38 -0500 |
commit | 3636a145321573f2f735e3ae69f87e0fb166abec (patch) | |
tree | 90be2285c66900ef18cc870428cc86297242cde9 /arch/arm/mach-mx2/mach-cpuimx27.c | |
parent | f0d3ab49110327516b7f0b6d27fd33d6fa079d6c (diff) |
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-cpuimx27.c')
-rw-r--r-- | arch/arm/mach-mx2/mach-cpuimx27.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-mx2/mach-cpuimx27.c b/arch/arm/mach-mx2/mach-cpuimx27.c index 92fd1bf7a638..e69c64e38f9f 100644 --- a/arch/arm/mach-mx2/mach-cpuimx27.c +++ b/arch/arm/mach-mx2/mach-cpuimx27.c | |||
@@ -189,7 +189,8 @@ static void __init eukrea_cpuimx27_init(void) | |||
189 | 189 | ||
190 | mxc_register_device(&mxc_uart_device0, &uart_pdata[0]); | 190 | mxc_register_device(&mxc_uart_device0, &uart_pdata[0]); |
191 | 191 | ||
192 | mxc_register_device(&mxc_nand_device, &eukrea_cpuimx27_nand_board_info); | 192 | mxc_register_device(&imx27_nand_device, |
193 | &eukrea_cpuimx27_nand_board_info); | ||
193 | 194 | ||
194 | i2c_register_board_info(0, eukrea_cpuimx27_i2c_devices, | 195 | i2c_register_board_info(0, eukrea_cpuimx27_i2c_devices, |
195 | ARRAY_SIZE(eukrea_cpuimx27_i2c_devices)); | 196 | ARRAY_SIZE(eukrea_cpuimx27_i2c_devices)); |