aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/sdhci-pltfm.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mmc/host/sdhci-pltfm.h')
-rw-r--r--drivers/mmc/host/sdhci-pltfm.h17
1 files changed, 13 insertions, 4 deletions
diff --git a/drivers/mmc/host/sdhci-pltfm.h b/drivers/mmc/host/sdhci-pltfm.h
index 2b37016ad0ac..ff4b7eb326fb 100644
--- a/drivers/mmc/host/sdhci-pltfm.h
+++ b/drivers/mmc/host/sdhci-pltfm.h
@@ -13,6 +13,7 @@
13 13
14#include <linux/clk.h> 14#include <linux/clk.h>
15#include <linux/types.h> 15#include <linux/types.h>
16#include <linux/platform_device.h>
16#include <linux/mmc/sdhci-pltfm.h> 17#include <linux/mmc/sdhci-pltfm.h>
17 18
18struct sdhci_pltfm_host { 19struct sdhci_pltfm_host {
@@ -20,9 +21,17 @@ struct sdhci_pltfm_host {
20 void *priv; /* to handle quirks across io-accessor calls */ 21 void *priv; /* to handle quirks across io-accessor calls */
21}; 22};
22 23
23extern struct sdhci_pltfm_data sdhci_cns3xxx_pdata; 24extern struct sdhci_host *sdhci_pltfm_init(struct platform_device *pdev,
24extern struct sdhci_pltfm_data sdhci_esdhc_imx_pdata; 25 struct sdhci_pltfm_data *pdata);
25extern struct sdhci_pltfm_data sdhci_dove_pdata; 26extern void sdhci_pltfm_free(struct platform_device *pdev);
26extern struct sdhci_pltfm_data sdhci_tegra_pdata; 27
28extern int sdhci_pltfm_register(struct platform_device *pdev,
29 struct sdhci_pltfm_data *pdata);
30extern int sdhci_pltfm_unregister(struct platform_device *pdev);
31
32#ifdef CONFIG_PM
33extern int sdhci_pltfm_suspend(struct platform_device *dev, pm_message_t state);
34extern int sdhci_pltfm_resume(struct platform_device *dev);
35#endif
27 36
28#endif /* _DRIVERS_MMC_SDHCI_PLTFM_H */ 37#endif /* _DRIVERS_MMC_SDHCI_PLTFM_H */