summaryrefslogtreecommitdiffstats
path: root/arch/mips/pci/fixup-atlas.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/pci/fixup-atlas.c')
-rw-r--r--arch/mips/pci/fixup-atlas.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/pci/fixup-atlas.c b/arch/mips/pci/fixup-atlas.c
index c6cd6e9cdfbc..45224fd2c7ba 100644
--- a/arch/mips/pci/fixup-atlas.c
+++ b/arch/mips/pci/fixup-atlas.c
@@ -58,7 +58,7 @@ static char irq_tab[][5] __initdata = {
{0, 0, 0, 0, 0 } /* 21: Unused */
};
-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[slot][pin];
}