|
@@ -1269,20 +1269,13 @@ static int sdhci_pci_runtime_idle(struct device *dev)
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
|
|
-#else
|
|
|
|
-
|
|
|
|
-#define sdhci_pci_runtime_suspend NULL
|
|
|
|
-#define sdhci_pci_runtime_resume NULL
|
|
|
|
-#define sdhci_pci_runtime_idle NULL
|
|
|
|
-
|
|
|
|
#endif
|
|
#endif
|
|
|
|
|
|
static const struct dev_pm_ops sdhci_pci_pm_ops = {
|
|
static const struct dev_pm_ops sdhci_pci_pm_ops = {
|
|
.suspend = sdhci_pci_suspend,
|
|
.suspend = sdhci_pci_suspend,
|
|
.resume = sdhci_pci_resume,
|
|
.resume = sdhci_pci_resume,
|
|
- .runtime_suspend = sdhci_pci_runtime_suspend,
|
|
|
|
- .runtime_resume = sdhci_pci_runtime_resume,
|
|
|
|
- .runtime_idle = sdhci_pci_runtime_idle,
|
|
|
|
|
|
+ SET_RUNTIME_PM_OPS(sdhci_pci_runtime_suspend,
|
|
|
|
+ sdhci_pci_runtime_resume, sdhci_pci_runtime_idle)
|
|
};
|
|
};
|
|
|
|
|
|
/*****************************************************************************\
|
|
/*****************************************************************************\
|