diff options
author | Richard Zhu <Hong-Xing.Zhu@freescale.com> | 2011-03-25 09:18:27 -0400 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2011-03-25 10:30:50 -0400 |
commit | e149860d16d96aef1a8eb7dc1d0b9d4313479e61 (patch) | |
tree | ada702bf46750da48f165ffc49a18dd9dd870e63 /drivers/mmc/host/sdhci-pltfm.h | |
parent | 574e3f5602d930a962f50dcc7124941c60c44084 (diff) | |
download | talos-op-linux-e149860d16d96aef1a8eb7dc1d0b9d4313479e61.tar.gz talos-op-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.h | 2 |
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; |