summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/sdhci-pltfm.h
diff options
context:
space:
mode:
authorDong Aisheng <b29396@freescale.com>2013-11-04 09:38:25 +0100
committerChris Ball <chris@printf.net>2014-01-13 18:48:06 +0100
commitd433dc63182825538b85de6a85e2ea3fad7f2917 (patch)
tree283b62980d84fd771a6b6589e7cdaf6db1efc81f /drivers/mmc/host/sdhci-pltfm.h
parentmmc: sdhci-esdhc-imx: add eMMC HS200 mode support (diff)
downloadlinux-d433dc63182825538b85de6a85e2ea3fad7f2917.tar.xz
linux-d433dc63182825538b85de6a85e2ea3fad7f2917.zip
mmc: sdhci-pltfm: export pltfm suspend/resume api
It is helpful for platform code to use to eliminate duplicated code. Signed-off-by: Dong Aisheng <b29396@freescale.com> Acked-by: Ulf Hansson <ulf.hansson@linaro.org> 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, 2 insertions, 0 deletions
diff --git a/drivers/mmc/host/sdhci-pltfm.h b/drivers/mmc/host/sdhci-pltfm.h
index e15ced79f7ed..04bc2481e5c3 100644
--- a/drivers/mmc/host/sdhci-pltfm.h
+++ b/drivers/mmc/host/sdhci-pltfm.h
@@ -111,6 +111,8 @@ static inline void *sdhci_pltfm_priv(struct sdhci_pltfm_host *host)
}
#ifdef CONFIG_PM
+extern int sdhci_pltfm_suspend(struct device *dev);
+extern int sdhci_pltfm_resume(struct device *dev);
extern const struct dev_pm_ops sdhci_pltfm_pmops;
#define SDHCI_PLTFM_PMOPS (&sdhci_pltfm_pmops)
#else