Message ID | 20150604214936.2399.94190.stgit@bhelgaas-glaptop2.roam.corp.google.com (mailing list archive) |
---|---|
State | New, archived |
Delegated to: | Bjorn Helgaas |
Headers | show |
On 06/04/2015 11:49 PM, Bjorn Helgaas wrote: > 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> > --- > arch/microblaze/include/asm/pci.h | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/arch/microblaze/include/asm/pci.h b/arch/microblaze/include/asm/pci.h > index b6b5b3c..541400d 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, > Reviewed-by: Michal Simek <michal.simek@xilinx.com> Bjorn: Do you want me to take this via Microblaze tree? Thanks, Michal
diff --git a/arch/microblaze/include/asm/pci.h b/arch/microblaze/include/asm/pci.h index b6b5b3c..541400d 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,
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> --- arch/microblaze/include/asm/pci.h | 3 --- 1 file changed, 3 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html