History

PCI: Make pci_check_pme_status(), pci_pme_wakeup_bus() private

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.

Kelsey Skunberg committed 7 years ago

Commit 669696e1 parent c776dd52 files · +2 −2Browse files

Showing the changes to include/linux (1 of 2 files). Show all

Unified · Split

include/linux/pci.h+0−2
@@ -1236,8 +1236,6 @@ int pci_wake_from_d3(struct pci_dev *dev, bool enable); · 1235 unmodified lines
12361236 int pci_prepare_to_sleep(struct pci_dev *dev);
12371237 int pci_back_from_sleep(struct pci_dev *dev);
12381238 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);
12411239 void pci_d3cold_enable(struct pci_dev *dev);
12421240 void pci_d3cold_disable(struct pci_dev *dev);
12431241 bool pcie_relaxed_ordering_enabled(struct pci_dev *dev);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t