summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mx2/mach-pcm038.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-02-11 16:31:49 +0100
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-02-24 10:05:38 +0100
commit3636a145321573f2f735e3ae69f87e0fb166abec (patch)
tree90be2285c66900ef18cc870428cc86297242cde9 /arch/arm/mach-mx2/mach-pcm038.c
parentf0d3ab49110327516b7f0b6d27fd33d6fa079d6c (diff)
downloadop-kernel-dev-3636a145321573f2f735e3ae69f87e0fb166abec.zip
op-kernel-dev-3636a145321573f2f735e3ae69f87e0fb166abec.tar.gz
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-pcm038.c')
-rw-r--r--arch/arm/mach-mx2/mach-pcm038.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-mx2/mach-pcm038.c b/arch/arm/mach-mx2/mach-pcm038.c
index e055d9dd..2290195 100644
--- a/arch/arm/mach-mx2/mach-pcm038.c
+++ b/arch/arm/mach-mx2/mach-pcm038.c
@@ -289,7 +289,7 @@ static void __init pcm038_init(void)
mxc_register_device(&mxc_uart_device2, &uart_pdata[2]);
mxc_gpio_mode(PE16_AF_OWIRE);
- mxc_register_device(&mxc_nand_device, &pcm038_nand_board_info);
+ mxc_register_device(&imx27_nand_device, &pcm038_nand_board_info);
/* only the i2c master 1 is used on this CPU card */
i2c_register_board_info(1, pcm038_i2c_devices,
OpenPOWER on IntegriCloud