aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ixp23xx/ixdp2351.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-ixp23xx/ixdp2351.c')
-rw-r--r--arch/arm/mach-ixp23xx/ixdp2351.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-ixp23xx/ixdp2351.c b/arch/arm/mach-ixp23xx/ixdp2351.c
index 8dcba17c81e7..ec028e35f401 100644
--- a/arch/arm/mach-ixp23xx/ixdp2351.c
+++ b/arch/arm/mach-ixp23xx/ixdp2351.c
@@ -168,7 +168,7 @@ void __init ixdp2351_init_irq(void)
168 */ 168 */
169#define DEVPIN(dev, pin) ((pin) | ((dev) << 3)) 169#define DEVPIN(dev, pin) ((pin) | ((dev) << 3))
170 170
171static int __init ixdp2351_map_irq(struct pci_dev *dev, u8 slot, u8 pin) 171static int __init ixdp2351_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
172{ 172{
173 u8 bus = dev->bus->number; 173 u8 bus = dev->bus->number;
174 u32 devpin = DEVPIN(PCI_SLOT(dev->devfn), pin); 174 u32 devpin = DEVPIN(PCI_SLOT(dev->devfn), pin);