summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorKelsey Skunberg <skunberg.kelsey@gmail.com>2019-07-24 17:38:38 -0600
committerBjorn Helgaas <bhelgaas@google.com>2019-07-30 08:45:49 -0500
commitc776dd50196a07a0ef943fcb74e8c86f9a5a20a8 (patch)
tree48581aeda73f32433a5c3588dd15f9f1183facdf /include
parent70a658073726ae79cf9747b651f577d1fdf45c3a (diff)
downloadlinux-c776dd50196a07a0ef943fcb74e8c86f9a5a20a8.tar.bz2
PCI: Make PCI_PM_* delay times private
These delay time definitions: #define PCI_PM_D2_DELAY 200 #define PCI_PM_D3_WAIT 10 #define PCI_PM_D3COLD_WAIT 100 #define PCI_PM_BUS_WAIT 50 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. Link: https://lore.kernel.org/r/20190724233848.73327-2-skunberg.kelsey@gmail.com Signed-off-by: Kelsey Skunberg <skunberg.kelsey@gmail.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/pci.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h
index 61b64fa1b0b1..9c2c6e161cfd 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -145,11 +145,6 @@ static inline const char *pci_power_name(pci_power_t state)
return pci_power_names[1 + (__force int) state];
}
-#define PCI_PM_D2_DELAY 200
-#define PCI_PM_D3_WAIT 10
-#define PCI_PM_D3COLD_WAIT 100
-#define PCI_PM_BUS_WAIT 50
-
/**
* typedef pci_channel_state_t
*