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>
This commit is contained in:
Bjorn Helgaas
2013-04-12 11:20:03 -06:00
parent 139f925126
commit 9738abedd6
4 changed files with 9 additions and 9 deletions

View File

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