These interfaces: bool pci_check_pme_status(struct pci_dev *dev); void pci_pme_wakeup_bus(struct pci_bus *bus); are only used in drivers/pci/ and do not need to be seen by the rest of the kernel. Move them to drivers/pci/pci.h so they're private to the PCI subsystem.
Showing the changes to include/linux (1 of 2 files). Show all
Unified · Split
| @@ -1236,8 +1236,6 @@ int pci_wake_from_d3(struct pci_dev *dev, bool enable); · 1235 unmodified lines | ||
| 1236 | 1236 | int pci_prepare_to_sleep(struct pci_dev *dev); |
| 1237 | 1237 | int pci_back_from_sleep(struct pci_dev *dev); |
| 1238 | 1238 | bool pci_dev_run_wake(struct pci_dev *dev); |
| 1239 | −bool pci_check_pme_status(struct pci_dev *dev); | |
| 1240 | −void pci_pme_wakeup_bus(struct pci_bus *bus); | |
| 1241 | 1239 | void pci_d3cold_enable(struct pci_dev *dev); |
| 1242 | 1240 | void pci_d3cold_disable(struct pci_dev *dev); |
| 1243 | 1241 | bool pcie_relaxed_ordering_enabled(struct pci_dev *dev); |