diff mbox

[RFC] PCI/DPC/AER: pci_find_dpc_dev() can be static

Message ID 20171228162708.GA58636@lkp-ib04 (mailing list archive)
State New, archived
Delegated to: Bjorn Helgaas
Headers show

Commit Message

kernel test robot Dec. 28, 2017, 4:27 p.m. UTC
Fixes: fc0212127f27 ("PCI/DPC/AER: Address Concurrency between AER and DPC")
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
 pcie-dpc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/drivers/pci/pcie/pcie-dpc.c b/drivers/pci/pcie/pcie-dpc.c
index e7ced58..68296ec 100644
--- a/drivers/pci/pcie/pcie-dpc.c
+++ b/drivers/pci/pcie/pcie-dpc.c
@@ -88,7 +88,7 @@  static int find_dpc_dev_iter(struct device *device, void *data)
 	return 0;
 }
 
-struct device *pci_find_dpc_dev(struct pci_dev *pdev)
+static struct device *pci_find_dpc_dev(struct pci_dev *pdev)
 {
 	struct device *dev = NULL;