diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2011-07-20 17:13:36 -0400 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2011-07-20 17:20:38 -0400 |
commit | e307148fd4f971cecfaebb516ee28e164948a24b (patch) | |
tree | a57fd2fda7d70d8936ac7c9b433f93dac540b665 /drivers/mmc/host/sdhci-pltfm.h | |
parent | 85d6509dc8ca24b2b652863ef7a75622ddca17d6 (diff) |
mmc: sdhci: eliminate sdhci_of_host and sdhci_of_data
The patch migrates the use of sdhci_of_host and sdhci_of_data to
sdhci_pltfm_host and sdhci_pltfm_data, so that the former pair can
be eliminated.
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Reviewed-by: Grant Likely <grant.likely@secretlab.ca>
Reviewed-by: Wolfram Sang <w.sang@pengutronix.de>
Acked-by: Anton Vorontsov <cbouatmailru@gmail.com>
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 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/mmc/host/sdhci-pltfm.h b/drivers/mmc/host/sdhci-pltfm.h index ff4b7eb326f..3cac4506f8f 100644 --- a/drivers/mmc/host/sdhci-pltfm.h +++ b/drivers/mmc/host/sdhci-pltfm.h | |||
@@ -19,6 +19,10 @@ | |||
19 | struct sdhci_pltfm_host { | 19 | struct sdhci_pltfm_host { |
20 | struct clk *clk; | 20 | struct clk *clk; |
21 | void *priv; /* to handle quirks across io-accessor calls */ | 21 | void *priv; /* to handle quirks across io-accessor calls */ |
22 | |||
23 | /* migrate from sdhci_of_host */ | ||
24 | unsigned int clock; | ||
25 | u16 xfer_mode_shadow; | ||
22 | }; | 26 | }; |
23 | 27 | ||
24 | extern struct sdhci_host *sdhci_pltfm_init(struct platform_device *pdev, | 28 | extern struct sdhci_host *sdhci_pltfm_init(struct platform_device *pdev, |