microblaze/PCI: Remove unnecessary pci_bus_find_capability() declaration
authorBjorn Helgaas <bhelgaas@google.com>
Thu, 4 Jun 2015 21:49:36 +0000 (16:49 -0500)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 8 Jun 2015 08:03:06 +0000 (10:03 +0200)
pci_bus_find_capability() is declared in include/linux/pci.h.

Remove the pci_bus_find_capability() declaration from
arch/microblaze/include/asm/pci.h.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
CC: Michal Simek <monstr@monstr.eu>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/microblaze/include/asm/pci.h

index b6b5b3c2fef0a15edae2b5a81ee6f26010a91b66..541400d0c03eb7b9dff42d442e3504ee8d21471c 100644 (file)
@@ -102,9 +102,6 @@ extern void pcibios_finish_adding_to_bus(struct pci_bus *bus);
 
 extern void pcibios_resource_survey(void);
 
-extern int pci_bus_find_capability(struct pci_bus *bus,
-                                               unsigned int devfn, int cap);
-
 struct file;
 extern pgprot_t        pci_phys_mem_access_prot(struct file *file,
                                         unsigned long pfn,