Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

arm/PCI: remove arch pci_flags definition

The PCI core provides a pci_flags definition (currently __weak), so drop
the arm definition in favor of that.

We EXPORT_SYMBOL(pci_flags) as arm did previously. I'm dubious about
this: no other architecture exports it, and I didn't see any modules in
the tree that reference it.

CC: Rob Herring <rob.herring@calxeda.com>
CC: Russell King <linux@arm.linux.org.uk>
CC: linux-arm-kernel@lists.infradead.org
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>

+2 -3
+2
arch/arm/kernel/bios32.c
··· 525 525 526 526 INIT_LIST_HEAD(&hw->buses); 527 527 528 + pci_add_flags(PCI_REASSIGN_ALL_RSRC); 528 529 if (hw->preinit) 529 530 hw->preinit(); 530 531 pcibios_init_hw(hw); ··· 560 559 pci_bus_add_devices(bus); 561 560 } 562 561 } 562 + EXPORT_SYMBOL(pci_flags); 563 563 564 564 #ifndef CONFIG_PCI_HOST_ITE8152 565 565 void pcibios_set_master(struct pci_dev *dev)
-3
arch/arm/mm/iomap.c
··· 32 32 unsigned long pcibios_min_mem = 0x01000000; 33 33 EXPORT_SYMBOL(pcibios_min_mem); 34 34 35 - unsigned int pci_flags = PCI_REASSIGN_ALL_RSRC; 36 - EXPORT_SYMBOL(pci_flags); 37 - 38 35 void pci_iounmap(struct pci_dev *dev, void __iomem *addr) 39 36 { 40 37 if ((unsigned long)addr >= VMALLOC_START &&