aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mx2/devices.h
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-02-11 10:31:49 -0500
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-02-24 04:05:38 -0500
commit3636a145321573f2f735e3ae69f87e0fb166abec (patch)
tree90be2285c66900ef18cc870428cc86297242cde9 /arch/arm/mach-mx2/devices.h
parentf0d3ab49110327516b7f0b6d27fd33d6fa079d6c (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/devices.h')
-rw-r--r--arch/arm/mach-mx2/devices.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/mach-mx2/devices.h b/arch/arm/mach-mx2/devices.h
index 02e5dd203095..f15df2aaae4d 100644
--- a/arch/arm/mach-mx2/devices.h
+++ b/arch/arm/mach-mx2/devices.h
@@ -15,13 +15,9 @@ extern struct platform_device mxc_uart_device5;
15extern struct platform_device mxc_w1_master_device; 15extern struct platform_device mxc_w1_master_device;
16#ifdef CONFIG_MACH_MX21 16#ifdef CONFIG_MACH_MX21
17extern struct platform_device imx21_nand_device; 17extern struct platform_device imx21_nand_device;
18#define mxc_nand_device imx21_nand_device
19#endif 18#endif
20#ifdef CONFIG_MACH_MX27 19#ifdef CONFIG_MACH_MX27
21extern struct platform_device imx27_nand_device; 20extern struct platform_device imx27_nand_device;
22#ifndef CONFIG_MACH_MX21
23#define mxc_nand_device imx27_nand_device
24#endif
25#endif 21#endif
26extern struct platform_device mxc_fb_device; 22extern struct platform_device mxc_fb_device;
27extern struct platform_device mxc_fec_device; 23extern struct platform_device mxc_fec_device;