summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
aa9c0eb)
SIMPLE_DEV_PM_OPS is using SET_SYSTEM_SLEEP_PM_OPS
and SET_SYSTEM_SLEEP_PM_OPS is empty when CONFIG_PM_SLEEP
is not defined.
Switching #ifdef CONFIG_PM to #ifdef CONFIG_PM_SLEEP
pci_pme_active(pdev, true);
}
pci_pme_active(pdev, true);
}
static int jme_suspend(struct device *dev)
{
struct pci_dev *pdev = to_pci_dev(dev);
static int jme_suspend(struct device *dev)
{
struct pci_dev *pdev = to_pci_dev(dev);