summaryrefslogtreecommitdiffstats
path: root/drivers/pci/pcie
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2013-04-12 11:20:03 -0600
committerBjorn Helgaas <bhelgaas@google.com>2013-04-12 11:26:01 -0600
commit9738abedd6721926dfb25fe6912be207b7168d03 (patch)
tree4bba4e723a8b8665436ac9f5f0ef6c6548b283e1 /drivers/pci/pcie
parent139f925126cc31b925484b2bc2cd0b0357c2bbd6 (diff)
downloadlinux-9738abedd6721926dfb25fe6912be207b7168d03.tar.bz2
PCI: Make local functions/structs static
This fixes "no previous prototype" warnings found via "make W=1". Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/pcie')
-rw-r--r--drivers/pci/pcie/aer/aer_inject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pci/pcie/aer/aer_inject.c b/drivers/pci/pcie/aer/aer_inject.c
index 4e24cb8a94ae..2f15475b56bc 100644
--- a/drivers/pci/pcie/aer/aer_inject.c
+++ b/drivers/pci/pcie/aer/aer_inject.c
@@ -212,8 +212,8 @@ out:
return ops->read(bus, devfn, where, size, val);
}
-int pci_write_aer(struct pci_bus *bus, unsigned int devfn, int where, int size,
- u32 val)
+static int pci_write_aer(struct pci_bus *bus, unsigned int devfn, int where,
+ int size, u32 val)
{
u32 *sim;
struct aer_error *err;