diff options
-rw-r--r-- | drivers/pci/pci.c | 3 | ||||
-rw-r--r-- | include/linux/pci.h | 1 |
2 files changed, 1 insertions, 3 deletions
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index 447e83472c01..847e0c35cdb7 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c | |||
@@ -2169,7 +2169,7 @@ EXPORT_SYMBOL(pci_disable_obff); | |||
2169 | * RETURNS: | 2169 | * RETURNS: |
2170 | * True if @dev supports latency tolerance reporting, false otherwise. | 2170 | * True if @dev supports latency tolerance reporting, false otherwise. |
2171 | */ | 2171 | */ |
2172 | bool pci_ltr_supported(struct pci_dev *dev) | 2172 | static bool pci_ltr_supported(struct pci_dev *dev) |
2173 | { | 2173 | { |
2174 | int pos; | 2174 | int pos; |
2175 | u32 cap; | 2175 | u32 cap; |
@@ -2185,7 +2185,6 @@ bool pci_ltr_supported(struct pci_dev *dev) | |||
2185 | 2185 | ||
2186 | return cap & PCI_EXP_DEVCAP2_LTR; | 2186 | return cap & PCI_EXP_DEVCAP2_LTR; |
2187 | } | 2187 | } |
2188 | EXPORT_SYMBOL(pci_ltr_supported); | ||
2189 | 2188 | ||
2190 | /** | 2189 | /** |
2191 | * pci_enable_ltr - enable latency tolerance reporting | 2190 | * pci_enable_ltr - enable latency tolerance reporting |
diff --git a/include/linux/pci.h b/include/linux/pci.h index d8c379dba6ad..b2bec26b7f0a 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h | |||
@@ -875,7 +875,6 @@ enum pci_obff_signal_type { | |||
875 | int pci_enable_obff(struct pci_dev *dev, enum pci_obff_signal_type); | 875 | int pci_enable_obff(struct pci_dev *dev, enum pci_obff_signal_type); |
876 | void pci_disable_obff(struct pci_dev *dev); | 876 | void pci_disable_obff(struct pci_dev *dev); |
877 | 877 | ||
878 | bool pci_ltr_supported(struct pci_dev *dev); | ||
879 | int pci_enable_ltr(struct pci_dev *dev); | 878 | int pci_enable_ltr(struct pci_dev *dev); |
880 | void pci_disable_ltr(struct pci_dev *dev); | 879 | void pci_disable_ltr(struct pci_dev *dev); |
881 | int pci_set_ltr(struct pci_dev *dev, int snoop_lat_ns, int nosnoop_lat_ns); | 880 | int pci_set_ltr(struct pci_dev *dev, int snoop_lat_ns, int nosnoop_lat_ns); |