Merge branch 'btrfs-3.0' of git://github.com/chrismason/linux
[pandora-kernel.git] / arch / arm / mach-footbridge / cats-pci.c
index ae3e1c8..32321f6 100644 (file)
@@ -16,7 +16,7 @@
 /* cats host-specific stuff */
 static int irqmap_cats[] __initdata = { IRQ_PCI, IRQ_IN0, IRQ_IN1, IRQ_IN3 };
 
-static int __init cats_map_irq(struct pci_dev *dev, u8 slot, u8 pin)
+static int __init cats_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
 {
        if (dev->irq >= 255)
                return -1;      /* not a valid interrupt. */