summaryrefslogtreecommitdiff
path: root/arch/mips/pci/fixup-ocelot-c.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/pci/fixup-ocelot-c.c')
-rw-r--r--arch/mips/pci/fixup-ocelot-c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/pci/fixup-ocelot-c.c b/arch/mips/pci/fixup-ocelot-c.c
index d45494807a33..6616648712c2 100644
--- a/arch/mips/pci/fixup-ocelot-c.c
+++ b/arch/mips/pci/fixup-ocelot-c.c
@@ -19,7 +19,7 @@
#include <linux/kernel.h>
#include <linux/init.h>
-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;