PCI: Make the struct pci_dev * argument of pci_fixup_irqs const.
[firefly-linux-kernel-4.4.55.git] / arch / arm / mach-orion5x / rd88f5182-setup.c
index 48da39b9bdb0ca0e1f6f484c03b7cf7c84936b6b..27fd38e658bd882f620999f80bd702ec32feff30 100644 (file)
@@ -172,7 +172,8 @@ void __init rd88f5182_pci_preinit(void)
        }
 }
 
-static int __init rd88f5182_pci_map_irq(struct pci_dev *dev, u8 slot, u8 pin)
+static int __init rd88f5182_pci_map_irq(const struct pci_dev *dev, u8 slot,
+       u8 pin)
 {
        int irq;