summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-footbridge/cats-pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-footbridge/cats-pci.c')
-rw-r--r--arch/arm/mach-footbridge/cats-pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-footbridge/cats-pci.c b/arch/arm/mach-footbridge/cats-pci.c
index ae3e1c8c758..32321f66dec 100644
--- a/arch/arm/mach-footbridge/cats-pci.c
+++ b/arch/arm/mach-footbridge/cats-pci.c
@@ -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. */