]> Pileus Git - ~andy/linux/commit
mmc: sdhci-esdhc: use writel/readl as general APIs
authorRichard Zhu <Hong-Xing.Zhu@freescale.com>
Fri, 25 Mar 2011 13:18:27 +0000 (09:18 -0400)
committerChris Ball <cjb@laptop.org>
Fri, 25 Mar 2011 14:30:50 +0000 (10:30 -0400)
commite149860d16d96aef1a8eb7dc1d0b9d4313479e61
treeada702bf46750da48f165ffc49a18dd9dd870e63
parent574e3f5602d930a962f50dcc7124941c60c44084
mmc: sdhci-esdhc: use writel/readl as general APIs

Add one flag to indicate the GPIO CD/WP is enabled or not
on imx platforms, and reuse the writel/readl as the general
APIs for imx SOCs.

Signed-off-by: Richard Zhu <Hong-Xing.Zhu@freescale.com>
Reviewed-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sdhci-esdhc-imx.c
drivers/mmc/host/sdhci-pltfm.h