aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-versatile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-versatile')
-rw-r--r--arch/arm/mach-versatile/pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-versatile/pci.c b/arch/arm/mach-versatile/pci.c
index 13c7e5f90a82..70f875c93701 100644
--- a/arch/arm/mach-versatile/pci.c
+++ b/arch/arm/mach-versatile/pci.c
@@ -325,7 +325,7 @@ void __init pci_versatile_preinit(void)
325/* 325/*
326 * map the specified device/slot/pin to an IRQ. Different backplanes may need to modify this. 326 * map the specified device/slot/pin to an IRQ. Different backplanes may need to modify this.
327 */ 327 */
328static int __init versatile_map_irq(struct pci_dev *dev, u8 slot, u8 pin) 328static int __init versatile_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
329{ 329{
330 int irq; 330 int irq;
331 int devslot = PCI_SLOT(dev->devfn); 331 int devslot = PCI_SLOT(dev->devfn);