summaryrefslogtreecommitdiffstats
path: root/arch/mips/pci/fixup-capcella.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/pci/fixup-capcella.c')
-rw-r--r--arch/mips/pci/fixup-capcella.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/pci/fixup-capcella.c b/arch/mips/pci/fixup-capcella.c
index 1e530751936..1416bca6d1a 100644
--- a/arch/mips/pci/fixup-capcella.c
+++ b/arch/mips/pci/fixup-capcella.c
@@ -38,7 +38,7 @@ static char irq_tab_capcella[][5] __initdata = {
[14] = { -1, INTA, INTB, INTC, INTD }
};
-int __init pcibios_map_irq(struct pci_dev *dev, u8 slot, u8 pin)
+int __init pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
{
return irq_tab_capcella[slot][pin];
}