]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - arch/tile/kernel/pci.c
PCI: Make the struct pci_dev * argument of pci_fixup_irqs const.
[mirror_ubuntu-artful-kernel.git] / arch / tile / kernel / pci.c
index 6d4cb5d7a9fd0da47f0f78235c44072c310e57ba..2a8014cb1ff52f0ef3e24a58a5e20ddcfeb3c8cc 100644 (file)
@@ -228,7 +228,7 @@ err_cont:
  * (pin - 1) converts from the PCI standard's [1:4] convention to
  * a normal [0:3] range.
  */
-static int tile_map_irq(struct pci_dev *dev, u8 slot, u8 pin)
+static int tile_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
 {
        struct pci_controller *controller =
                (struct pci_controller *)dev->sysdata;