From: Bjorn Helgaas Date: Thu, 4 Jun 2015 21:49:36 +0000 (-0500) Subject: microblaze/PCI: Remove unnecessary pci_bus_find_capability() declaration X-Git-Tag: firefly_0821_release~176^2~1594^2~1 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=99fdc6b9bd022ab5fb0f2e45f11a5a53697221fb;p=firefly-linux-kernel-4.4.55.git microblaze/PCI: Remove unnecessary pci_bus_find_capability() declaration 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 CC: Michal Simek Signed-off-by: Michal Simek --- diff --git a/arch/microblaze/include/asm/pci.h b/arch/microblaze/include/asm/pci.h index b6b5b3c2fef0..541400d0c03e 100644 --- a/arch/microblaze/include/asm/pci.h +++ b/arch/microblaze/include/asm/pci.h @@ -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,