|
@@ -216,21 +216,19 @@ int sdhci_pltfm_unregister(struct platform_device *pdev)
|
|
|
EXPORT_SYMBOL_GPL(sdhci_pltfm_unregister);
|
|
|
|
|
|
#ifdef CONFIG_PM
|
|
|
-int sdhci_pltfm_suspend(struct device *dev)
|
|
|
+static int sdhci_pltfm_suspend(struct device *dev)
|
|
|
{
|
|
|
struct sdhci_host *host = dev_get_drvdata(dev);
|
|
|
|
|
|
return sdhci_suspend_host(host);
|
|
|
}
|
|
|
-EXPORT_SYMBOL_GPL(sdhci_pltfm_suspend);
|
|
|
|
|
|
-int sdhci_pltfm_resume(struct device *dev)
|
|
|
+static int sdhci_pltfm_resume(struct device *dev)
|
|
|
{
|
|
|
struct sdhci_host *host = dev_get_drvdata(dev);
|
|
|
|
|
|
return sdhci_resume_host(host);
|
|
|
}
|
|
|
-EXPORT_SYMBOL_GPL(sdhci_pltfm_resume);
|
|
|
|
|
|
const struct dev_pm_ops sdhci_pltfm_pmops = {
|
|
|
.suspend = sdhci_pltfm_suspend,
|