···3939 * irqs. I suppose a device without a pin A will thank us for doing it4040 * right if there exists such a broken piece of crap.4141 */4242-int __init pcibios_map_irq(struct pci_dev *dev, u8 slot, u8 pin)4242+int __init pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)4343{4444 return irq_tab_mace[slot][pin];4545}
···134134 * A given PCI device, in general, should be able to intr any of the cpus135135 * on any one of the hubs connected to its xbow.136136 */137137-int __devinit pcibios_map_irq(struct pci_dev *dev, u8 slot, u8 pin)137137+int __devinit pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)138138{139139 struct bridge_controller *bc = BRIDGE_CONTROLLER(dev->bus);140140 int irq = bc->pci_int[slot];
···5656/*5757 * board supplied pci irq fixup routine5858 */5959-extern int pcibios_map_irq(struct pci_dev *dev, u8 slot, u8 pin);5959+extern int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin);606061616262/* Can be used to override the logic in pci_scan_bus for skipping