Loading drivers/pci/pci-driver.c +4 −4 Original line number Original line Diff line number Diff line Loading @@ -646,7 +646,7 @@ static int pci_legacy_suspend(struct device *dev, pm_message_t state) return 0; return 0; } } static int pci_legacy_suspend_late(struct device *dev, pm_message_t state) static int pci_legacy_suspend_late(struct device *dev) { { struct pci_dev *pci_dev = to_pci_dev(dev); struct pci_dev *pci_dev = to_pci_dev(dev); Loading Loading @@ -848,7 +848,7 @@ static int pci_pm_suspend_noirq(struct device *dev) return 0; return 0; if (pci_has_legacy_pm_support(pci_dev)) if (pci_has_legacy_pm_support(pci_dev)) return pci_legacy_suspend_late(dev, PMSG_SUSPEND); return pci_legacy_suspend_late(dev); if (!pm) { if (!pm) { pci_save_state(pci_dev); pci_save_state(pci_dev); Loading Loading @@ -1060,7 +1060,7 @@ static int pci_pm_freeze_noirq(struct device *dev) const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; if (pci_has_legacy_pm_support(pci_dev)) if (pci_has_legacy_pm_support(pci_dev)) return pci_legacy_suspend_late(dev, PMSG_FREEZE); return pci_legacy_suspend_late(dev); if (pm && pm->freeze_noirq) { if (pm && pm->freeze_noirq) { int error; int error; Loading Loading @@ -1179,7 +1179,7 @@ static int pci_pm_poweroff_noirq(struct device *dev) return 0; return 0; if (pci_has_legacy_pm_support(pci_dev)) if (pci_has_legacy_pm_support(pci_dev)) return pci_legacy_suspend_late(dev, PMSG_HIBERNATE); return pci_legacy_suspend_late(dev); if (!pm) { if (!pm) { pci_fixup_device(pci_fixup_suspend_late, pci_dev); pci_fixup_device(pci_fixup_suspend_late, pci_dev); Loading Loading
drivers/pci/pci-driver.c +4 −4 Original line number Original line Diff line number Diff line Loading @@ -646,7 +646,7 @@ static int pci_legacy_suspend(struct device *dev, pm_message_t state) return 0; return 0; } } static int pci_legacy_suspend_late(struct device *dev, pm_message_t state) static int pci_legacy_suspend_late(struct device *dev) { { struct pci_dev *pci_dev = to_pci_dev(dev); struct pci_dev *pci_dev = to_pci_dev(dev); Loading Loading @@ -848,7 +848,7 @@ static int pci_pm_suspend_noirq(struct device *dev) return 0; return 0; if (pci_has_legacy_pm_support(pci_dev)) if (pci_has_legacy_pm_support(pci_dev)) return pci_legacy_suspend_late(dev, PMSG_SUSPEND); return pci_legacy_suspend_late(dev); if (!pm) { if (!pm) { pci_save_state(pci_dev); pci_save_state(pci_dev); Loading Loading @@ -1060,7 +1060,7 @@ static int pci_pm_freeze_noirq(struct device *dev) const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL; if (pci_has_legacy_pm_support(pci_dev)) if (pci_has_legacy_pm_support(pci_dev)) return pci_legacy_suspend_late(dev, PMSG_FREEZE); return pci_legacy_suspend_late(dev); if (pm && pm->freeze_noirq) { if (pm && pm->freeze_noirq) { int error; int error; Loading Loading @@ -1179,7 +1179,7 @@ static int pci_pm_poweroff_noirq(struct device *dev) return 0; return 0; if (pci_has_legacy_pm_support(pci_dev)) if (pci_has_legacy_pm_support(pci_dev)) return pci_legacy_suspend_late(dev, PMSG_HIBERNATE); return pci_legacy_suspend_late(dev); if (!pm) { if (!pm) { pci_fixup_device(pci_fixup_suspend_late, pci_dev); pci_fixup_device(pci_fixup_suspend_late, pci_dev); Loading