summaryrefslogtreecommitdiffstats
path: root/arch/mips/pci/fixup-ocelot3.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/pci/fixup-ocelot3.c')
-rw-r--r--arch/mips/pci/fixup-ocelot3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/pci/fixup-ocelot3.c b/arch/mips/pci/fixup-ocelot3.c
index ececc03ec620..702f997b8673 100644
--- a/arch/mips/pci/fixup-ocelot3.c
+++ b/arch/mips/pci/fixup-ocelot3.c
@@ -23,7 +23,7 @@ int pcibios_plat_dev_init(struct pci_dev *dev)
return 0;
}
-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)
{
int bus = dev->bus->number;