summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-mxc/include/mach/devices-common.h
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2011-06-30 09:24:26 +0800
committerShawn Guo <shawn.guo@linaro.org>2011-07-27 09:31:27 +0800
commit57ed3314e0bfa90ea63c63b8d3038814e9d98a20 (patch)
treece82f977d851c5cb2b0d6c28da0ef7270f3be848 /arch/arm/plat-mxc/include/mach/devices-common.h
parent842afc02cf04f0474392b4c5efd808996a804fa6 (diff)
downloadblackbird-op-linux-57ed3314e0bfa90ea63c63b8d3038814e9d98a20.tar.gz
blackbird-op-linux-57ed3314e0bfa90ea63c63b8d3038814e9d98a20.zip
mmc: sdhci-esdhc-imx: get rid of the uses of cpu_is_mx()
The patch removes all the uses of cpu_is_mx(). Instead, it utilizes platform_device_id to distinguish the esdhc differences among SoCs. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Cc: Wolfram Sang <w.sang@pengutronix.de> Cc: Chris Ball <cjb@laptop.org> Acked-by: Grant Likely <grant.likely@secretlab.ca> Acked-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'arch/arm/plat-mxc/include/mach/devices-common.h')
-rw-r--r--arch/arm/plat-mxc/include/mach/devices-common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/plat-mxc/include/mach/devices-common.h b/arch/arm/plat-mxc/include/mach/devices-common.h
index 6ac24501426d..3beef7729788 100644
--- a/arch/arm/plat-mxc/include/mach/devices-common.h
+++ b/arch/arm/plat-mxc/include/mach/devices-common.h
@@ -277,6 +277,7 @@ struct platform_device *__init imx_add_mxc_w1(
#include <mach/esdhc.h>
struct imx_sdhci_esdhc_imx_data {
+ const char *devid;
int id;
resource_size_t iobase;
resource_size_t irq;
OpenPOWER on IntegriCloud