]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/arm/mach-ixp4xx/gateway7001-pci.c
PCI: Make the struct pci_dev * argument of pci_fixup_irqs const.
[karo-tx-linux.git] / arch / arm / mach-ixp4xx / gateway7001-pci.c
index fc11241688740df0077c036f1cc4f46574d3ff74..76581fb467c4feb451cf9cb0b8a938d28f2aac1f 100644 (file)
@@ -35,7 +35,8 @@ void __init gateway7001_pci_preinit(void)
        ixp4xx_pci_preinit();
 }
 
-static int __init gateway7001_map_irq(struct pci_dev *dev, u8 slot, u8 pin)
+static int __init gateway7001_map_irq(const struct pci_dev *dev, u8 slot,
+       u8 pin)
 {
        if (slot == 1)
                return IRQ_IXP4XX_GPIO11;