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

From: kbuild test robot
Date: Thu Dec 28 2017 - 11:28:03 EST



Fixes: fc0212127f27 ("PCI/DPC/AER: Address Concurrency between AER and DPC")
Signed-off-by: Fengguang Wu <fengguang.wu@xxxxxxxxx>
---
pcie-dpc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

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;