summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mxs/include
diff options
context:
space:
mode:
authorShawn Guo2012-05-05 14:24:01 +0200
committerShawn Guo2012-05-13 02:05:31 +0200
commitef9b4d3996624f65ffa928bd7767f0e186687c15 (patch)
treea0172896d66edf625d7c600e78525ee91401c25e /arch/arm/mach-mxs/include
parentmmc: mxs-mmc: let ssp_is_old take host as parameter (diff)
downloadkernel-qcow2-linux-ef9b4d3996624f65ffa928bd7767f0e186687c15.tar.gz
kernel-qcow2-linux-ef9b4d3996624f65ffa928bd7767f0e186687c15.tar.xz
kernel-qcow2-linux-ef9b4d3996624f65ffa928bd7767f0e186687c15.zip
mmc: mxs-mmc: get rid of the use of cpu_is_xxx
The register HW_SSP_VERSION is broken for ssp version detection, as the address of the register is different between imx23 and imx28. Let's use platform_device_id to detect the device, so that the use of cpu_is_xxx can be removed. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Acked-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'arch/arm/mach-mxs/include')
-rw-r--r--arch/arm/mach-mxs/include/mach/devices-common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-mxs/include/mach/devices-common.h b/arch/arm/mach-mxs/include/mach/devices-common.h
index f2e383955d88..2b37689c74ee 100644
--- a/arch/arm/mach-mxs/include/mach/devices-common.h
+++ b/arch/arm/mach-mxs/include/mach/devices-common.h
@@ -89,6 +89,7 @@ struct platform_device * __init mxs_add_mxs_i2c(
/* mmc */
#include <mach/mmc.h>
struct mxs_mxs_mmc_data {
+ const char *devid;
int id;
resource_size_t iobase;
resource_size_t dma;