]> git.karo-electronics.de Git - linux-beck.git/commitdiff
mmc: tmio: Make runtime PM callbacks available for CONFIG_PM
authorUlf Hansson <ulf.hansson@linaro.org>
Mon, 25 Aug 2014 10:03:20 +0000 (12:03 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 9 Sep 2014 11:59:10 +0000 (13:59 +0200)
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>
drivers/mmc/host/tmio_mmc.h
drivers/mmc/host/tmio_mmc_pio.c

index f1ee3e4355de56d5244320ebec2bea31811e0160..2ad52d6b397563202950a5de8bf49787ecb9cb30 100644 (file)
@@ -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
index d52280d671f037224d36ef7c0e4c10d2af706e64..494ecc5e73d0717c28b4df3f13de2c26f76a830f 100644 (file)
@@ -1162,7 +1162,7 @@ int tmio_mmc_host_resume(struct device *dev)
 EXPORT_SYMBOL(tmio_mmc_host_resume);
 #endif
 
-#ifdef CONFIG_PM_RUNTIME
+#ifdef CONFIG_PM
 int tmio_mmc_host_runtime_suspend(struct device *dev)
 {
        struct mmc_host *mmc = dev_get_drvdata(dev);