diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2009-12-17 11:17:54 -0500 |
---|---|---|
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-01-08 10:45:20 -0500 |
commit | aae7019382896cf1075a93acc564e42601bc44a2 (patch) | |
tree | 410296136a448fb45c8129b0dd62a099440c9b92 /arch/arm/plat-mxc/include/mach/mx35.h | |
parent | a9b7a2dd217bd43e122b604ec99b63e0211c38aa (diff) |
imx: only define deprecated symbols conditionally
Define deprecated symbols in an #ifdef IMX_NEEDS_DEPRECATED_SYMBOLS ...
All files that still depend on the old definitions get
-DIMX_NEEDS_DEPRECATED_SYMBOLS passed to the compiler.
When all remaining users are fixed this allows including the soc
specific headers unconditionally.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Cc: Sascha Hauer <kernel@pengutronix.de>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Eric Benard <eric@eukrea.com>
Cc: Fabio Estevam <fabio.estevam@freescale.com>
Cc: Alan Carvalho de Assis <acassis@gmail.com>
Cc: Daniel Mack <daniel@caiaq.de>
Cc: Alberto Panizzo <maramaopercheseimorto@gmail.com>
Cc: Ilya Yanok <yanok@emcraft.com>
Cc: Holger Schurig <hs4233@mail.mn-solutions.de>
Cc: Jiri Kosina <jkosina@suse.cz>
Cc: Magnus Lilja <lilja.magnus@gmail.com>
Diffstat (limited to 'arch/arm/plat-mxc/include/mach/mx35.h')
-rw-r--r-- | arch/arm/plat-mxc/include/mach/mx35.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/plat-mxc/include/mach/mx35.h b/arch/arm/plat-mxc/include/mach/mx35.h index 0e453b34ab92..ff2d2f0bfc93 100644 --- a/arch/arm/plat-mxc/include/mach/mx35.h +++ b/arch/arm/plat-mxc/include/mach/mx35.h | |||
@@ -187,6 +187,7 @@ | |||
187 | #define MX35_SYSTEM_REV_MIN MX35_CHIP_REV_1_0 | 187 | #define MX35_SYSTEM_REV_MIN MX35_CHIP_REV_1_0 |
188 | #define MX35_SYSTEM_REV_NUM 3 | 188 | #define MX35_SYSTEM_REV_NUM 3 |
189 | 189 | ||
190 | #ifdef IMX_NEEDS_DEPRECATED_SYMBOLS | ||
190 | /* these should go away */ | 191 | /* these should go away */ |
191 | #define MXC_FEC_BASE_ADDR MX35_FEC_BASE_ADDR | 192 | #define MXC_FEC_BASE_ADDR MX35_FEC_BASE_ADDR |
192 | #define MXC_INT_OWIRE MX35_INT_OWIRE | 193 | #define MXC_INT_OWIRE MX35_INT_OWIRE |
@@ -202,3 +203,4 @@ | |||
202 | #define MXC_INT_MLB MX35_INT_MLB | 203 | #define MXC_INT_MLB MX35_INT_MLB |
203 | #define MXC_INT_SPDIF MX35_INT_SPDIF | 204 | #define MXC_INT_SPDIF MX35_INT_SPDIF |
204 | #define MXC_INT_FEC MX35_INT_FEC | 205 | #define MXC_INT_FEC MX35_INT_FEC |
206 | #endif | ||