summaryrefslogtreecommitdiff
path: root/drivers/mmc/host/tmio_mmc.h
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2014-08-25 14:03:20 +0400
committerUlf Hansson <ulf.hansson@linaro.org>2014-09-09 15:59:10 +0400
commit9ade7dbf20e8fc73d9784b772e320239de2acf08 (patch)
tree3a34ef7f26d3fdf4be7ef81482aee1bf1ff0e1ba /drivers/mmc/host/tmio_mmc.h
parent20e955c3c746f434a2f97ab08ac6bd71f63c6afa (diff)
downloadlinux-9ade7dbf20e8fc73d9784b772e320239de2acf08.tar.xz
mmc: tmio: Make runtime PM callbacks available for CONFIG_PM
To give the option for tmio hosts to use the runtime PM callbacks for CONFIG_PM_SLEEP as well as CONFIG_PM_RUNTIME, move them to CONFIG_PM. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Diffstat (limited to 'drivers/mmc/host/tmio_mmc.h')
-rw-r--r--drivers/mmc/host/tmio_mmc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/tmio_mmc.h b/drivers/mmc/host/tmio_mmc.h
index f1ee3e4355de..2ad52d6b3975 100644
--- a/drivers/mmc/host/tmio_mmc.h
+++ b/drivers/mmc/host/tmio_mmc.h
@@ -149,7 +149,7 @@ int tmio_mmc_host_suspend(struct device *dev);
int tmio_mmc_host_resume(struct device *dev);
#endif
-#ifdef CONFIG_PM_RUNTIME
+#ifdef CONFIG_PM
int tmio_mmc_host_runtime_suspend(struct device *dev);
int tmio_mmc_host_runtime_resume(struct device *dev);
#endif