summaryrefslogtreecommitdiffstats
path: root/arch/mips/pci/fixup-yosemite.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/pci/fixup-yosemite.c')
-rw-r--r--arch/mips/pci/fixup-yosemite.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/pci/fixup-yosemite.c b/arch/mips/pci/fixup-yosemite.c
index 81d77a587a5..fdafb13a793 100644
--- a/arch/mips/pci/fixup-yosemite.c
+++ b/arch/mips/pci/fixup-yosemite.c
@@ -26,7 +26,7 @@
#include <linux/init.h>
#include <linux/pci.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)
{
if (pin == 0)
return -1;