|
@@ -260,9 +260,9 @@ static int sdhci_sirf_resume(struct device *dev)
|
|
|
|
|
|
return sdhci_resume_host(host);
|
|
return sdhci_resume_host(host);
|
|
}
|
|
}
|
|
|
|
+#endif
|
|
|
|
|
|
static SIMPLE_DEV_PM_OPS(sdhci_sirf_pm_ops, sdhci_sirf_suspend, sdhci_sirf_resume);
|
|
static SIMPLE_DEV_PM_OPS(sdhci_sirf_pm_ops, sdhci_sirf_suspend, sdhci_sirf_resume);
|
|
-#endif
|
|
|
|
|
|
|
|
static const struct of_device_id sdhci_sirf_of_match[] = {
|
|
static const struct of_device_id sdhci_sirf_of_match[] = {
|
|
{ .compatible = "sirf,prima2-sdhc" },
|
|
{ .compatible = "sirf,prima2-sdhc" },
|
|
@@ -274,9 +274,7 @@ static struct platform_driver sdhci_sirf_driver = {
|
|
.driver = {
|
|
.driver = {
|
|
.name = "sdhci-sirf",
|
|
.name = "sdhci-sirf",
|
|
.of_match_table = sdhci_sirf_of_match,
|
|
.of_match_table = sdhci_sirf_of_match,
|
|
-#ifdef CONFIG_PM_SLEEP
|
|
|
|
.pm = &sdhci_sirf_pm_ops,
|
|
.pm = &sdhci_sirf_pm_ops,
|
|
-#endif
|
|
|
|
},
|
|
},
|
|
.probe = sdhci_sirf_probe,
|
|
.probe = sdhci_sirf_probe,
|
|
.remove = sdhci_pltfm_unregister,
|
|
.remove = sdhci_pltfm_unregister,
|