lkml.org 
[lkml]   [2017]   [Dec]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[RFC PATCH] PCI/DPC/AER: pci_find_dpc_dev() can be static

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 --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;

\
 
 \ /
  Last update: 2017-12-28 17:29    [W:0.080 / U:50.688 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site