@@ -64,22 +64,3 @@ void pci_assign_irq(struct pci_dev *dev)
the real IRQ to use; the device does not use it. */
pcibios_update_irq(dev, irq);
}
-
-void pci_fixup_irqs(u8 (*swizzle)(struct pci_dev *, u8 *),
- int (*map_irq)(struct pci_dev *, u8, u8))
-{
- /* This code should be removed shortly, but in the mean time
- it can wrap the new codepath in order to allow arches
- still using it to continue working */
- struct pci_dev *dev = NULL;
- struct pci_host_bridge *hbrg = NULL;
-
- for_each_pci_dev(dev)
- hbrg = pci_find_host_bridge(dev->bus);
- hbrg->swizzle_irq = swizzle;
- hbrg->map_irq = map_irq;
- pci_assign_irq(dev);
- hbrg->swizzle_irq = NULL;
- hbrg->map_irq = NULL;
-}
-EXPORT_SYMBOL_GPL(pci_fixup_irqs);
@@ -1120,8 +1120,6 @@ void pci_assign_unassigned_bus_resources(struct pci_bus *bus);
void pci_assign_unassigned_root_bus_resources(struct pci_bus *bus);
void pdev_enable_device(struct pci_dev *);
int pci_enable_resources(struct pci_dev *, int mask);
-void pci_fixup_irqs(u8 (*)(struct pci_dev *, u8 *),
- int (*)(struct pci_dev *, u8, u8));
void pci_assign_irq(struct pci_dev *dev);
#define HAVE_PCI_REQ_REGIONS 2
int __must_check pci_request_regions(struct pci_dev *, const char *);
Now we have removed all callers of pci_fixup_irqs and migrated everything to pci_assign_irq delete the pci_fixup_irqs function completely. Signed-off-by: Matthew Minter <matt@masarand.com> --- drivers/pci/setup-irq.c | 19 ------------------- include/linux/pci.h | 2 -- 2 files changed, 21 deletions(-)