]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mmc: mxs-mmc: get rid of the use of cpu_is_xxx
authorShawn Guo <shawn.guo@linaro.org>
Sat, 5 May 2012 12:24:01 +0000 (20:24 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Sun, 13 May 2012 00:05:31 +0000 (08:05 +0800)
commitef9b4d3996624f65ffa928bd7767f0e186687c15
treea0172896d66edf625d7c600e78525ee91401c25e
parente0bf141db2e649830a1851f7c5c01f3b9b410778
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>
arch/arm/mach-mxs/devices/platform-mxs-mmc.c
arch/arm/mach-mxs/include/mach/devices-common.h
drivers/clk/mxs/clk-imx23.c
drivers/clk/mxs/clk-imx28.c
drivers/mmc/host/mxs-mmc.c