summaryrefslogtreecommitdiffstats
path: root/drivers/pci/pcie/aer/aer_inject.c
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2013-04-17 10:31:34 -0600
committerBjorn Helgaas <bhelgaas@google.com>2013-04-17 10:31:34 -0600
commit723ec4d06cb2eed481436cfe008f5f63c45e88fd (patch)
treee59112af8616e8fbc0cc6c2219b49fd2f05bfc41 /drivers/pci/pcie/aer/aer_inject.c
parenta3b6bbd5774c13dab89d72f79976ba762913b2f2 (diff)
parentf39d5b72913e2a9ff00ba5ab145ee05a888b1286 (diff)
downloadlinux-stable-723ec4d06cb2eed481436cfe008f5f63c45e88fd.tar.gz
linux-stable-723ec4d06cb2eed481436cfe008f5f63c45e88fd.tar.bz2
linux-stable-723ec4d06cb2eed481436cfe008f5f63c45e88fd.zip
Merge branch 'pci/cleanup' into next
* pci/cleanup: PCI: Remove "extern" from function declarations PCI: Warn about failures instead of "must_check" functions PCI: Remove __must_check from definitions PCI: Remove unused variables PCI: Move cpci_hotplug_init() proto to header file PCI: Make local functions/structs static PCI: Fix missing prototype for pcie_port_acpi_setup() Conflicts: drivers/pci/hotplug/acpiphp.h include/linux/pci.h
Diffstat (limited to 'drivers/pci/pcie/aer/aer_inject.c')
-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 8d4a5e3dbe8e..587e7e853107 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;