|
@@ -56,7 +56,7 @@ static int sdhci_execute_tuning(struct mmc_host *mmc, u32 opcode);
|
|
static void sdhci_tuning_timer(unsigned long data);
|
|
static void sdhci_tuning_timer(unsigned long data);
|
|
static void sdhci_enable_preset_value(struct sdhci_host *host, bool enable);
|
|
static void sdhci_enable_preset_value(struct sdhci_host *host, bool enable);
|
|
|
|
|
|
-#ifdef CONFIG_PM_RUNTIME
|
|
|
|
|
|
+#ifdef CONFIG_PM
|
|
static int sdhci_runtime_pm_get(struct sdhci_host *host);
|
|
static int sdhci_runtime_pm_get(struct sdhci_host *host);
|
|
static int sdhci_runtime_pm_put(struct sdhci_host *host);
|
|
static int sdhci_runtime_pm_put(struct sdhci_host *host);
|
|
static void sdhci_runtime_pm_bus_on(struct sdhci_host *host);
|
|
static void sdhci_runtime_pm_bus_on(struct sdhci_host *host);
|
|
@@ -2654,9 +2654,6 @@ int sdhci_resume_host(struct sdhci_host *host)
|
|
}
|
|
}
|
|
|
|
|
|
EXPORT_SYMBOL_GPL(sdhci_resume_host);
|
|
EXPORT_SYMBOL_GPL(sdhci_resume_host);
|
|
-#endif /* CONFIG_PM */
|
|
|
|
-
|
|
|
|
-#ifdef CONFIG_PM_RUNTIME
|
|
|
|
|
|
|
|
static int sdhci_runtime_pm_get(struct sdhci_host *host)
|
|
static int sdhci_runtime_pm_get(struct sdhci_host *host)
|
|
{
|
|
{
|
|
@@ -2757,7 +2754,7 @@ int sdhci_runtime_resume_host(struct sdhci_host *host)
|
|
}
|
|
}
|
|
EXPORT_SYMBOL_GPL(sdhci_runtime_resume_host);
|
|
EXPORT_SYMBOL_GPL(sdhci_runtime_resume_host);
|
|
|
|
|
|
-#endif
|
|
|
|
|
|
+#endif /* CONFIG_PM */
|
|
|
|
|
|
/*****************************************************************************\
|
|
/*****************************************************************************\
|
|
* *
|
|
* *
|