PCI: Make the struct pci_dev * argument of pci_fixup_irqs const.
[linux-2.6-block.git] / arch / arm / mach-sa1100 / pci-nanoengine.c
index fba7a913f12b6c8d034b554bcb453e414de5b0c4..a3cd2f7cab622ac6c9221ed7208f67ce7108556a 100644 (file)
@@ -122,7 +122,8 @@ static struct pci_ops pci_nano_ops = {
        .write  = nanoengine_write_config,
 };
 
-static int __init pci_nanoengine_map_irq(struct pci_dev *dev, u8 slot, u8 pin)
+static int __init pci_nanoengine_map_irq(const struct pci_dev *dev, u8 slot,
+       u8 pin)
 {
        return NANOENGINE_IRQ_GPIO_PCI;
 }