summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/sdhci-pltfm.h
diff options
context:
space:
mode:
authorRichard Zhu2011-03-25 14:18:27 +0100
committerChris Ball2011-03-25 15:30:50 +0100
commite149860d16d96aef1a8eb7dc1d0b9d4313479e61 (patch)
treeada702bf46750da48f165ffc49a18dd9dd870e63 /drivers/mmc/host/sdhci-pltfm.h
parentmmc: sdhci: add the abort CMDTYPE bits definition (diff)
downloadkernel-qcow2-linux-e149860d16d96aef1a8eb7dc1d0b9d4313479e61.tar.gz
kernel-qcow2-linux-e149860d16d96aef1a8eb7dc1d0b9d4313479e61.tar.xz
kernel-qcow2-linux-e149860d16d96aef1a8eb7dc1d0b9d4313479e61.zip
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>
Diffstat (limited to 'drivers/mmc/host/sdhci-pltfm.h')
-rw-r--r--drivers/mmc/host/sdhci-pltfm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/sdhci-pltfm.h b/drivers/mmc/host/sdhci-pltfm.h
index ea2e44d9be5e..2b37016ad0ac 100644
--- a/drivers/mmc/host/sdhci-pltfm.h
+++ b/drivers/mmc/host/sdhci-pltfm.h
@@ -17,7 +17,7 @@
struct sdhci_pltfm_host {
struct clk *clk;
- u32 scratchpad; /* to handle quirks across io-accessor calls */
+ void *priv; /* to handle quirks across io-accessor calls */
};
extern struct sdhci_pltfm_data sdhci_cns3xxx_pdata;