PCI: Make the struct pci_dev * argument of pci_fixup_irqs const.
[firefly-linux-kernel-4.4.55.git] / arch / arm / mach-orion5x / terastation_pro2-setup.c
index 29ce826c3c214e445324b3ed93a06a6b2a40c175..a34e4fac72b00993ac60ab69b1f0822810157a52 100644 (file)
@@ -100,7 +100,7 @@ void __init tsp2_pci_preinit(void)
        }
 }
 
-static int __init tsp2_pci_map_irq(struct pci_dev *dev, u8 slot, u8 pin)
+static int __init tsp2_pci_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
 {
        int irq;