diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-02-05 16:57:59 +0100 |
---|---|---|
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-02-15 17:03:55 +0100 |
commit | f0d3ab49110327516b7f0b6d27fd33d6fa079d6c (patch) | |
tree | 7051a360d446e50be6ddb9366f68aa483915ddf4 /arch/arm/mach-mx2/mach-mxt_td60.c | |
parent | 58152a16901dfce8662f5ec7e16d06dfce6fd31e (diff) | |
download | linux-f0d3ab49110327516b7f0b6d27fd33d6fa079d6c.tar.bz2 |
arm/mx2: define seperate imx_nand devices for imx21 and imx27
As the NFC controller has different addresses on imx21 and imx27 there
are two different devices needed if not relying on the overloaded cpp
macro NFC_BASE_ADDR. So some cpp magic is added to minimize code
duplication.
As obviously these two defines need different names, the name of the old
device is #defined to the new one when building for only one of imx21 or
imx27.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx2/mach-mxt_td60.c')
0 files changed, 0 insertions, 0 deletions