diff options
Diffstat (limited to 'arch/arm/mach-ixp2000')
-rw-r--r-- | arch/arm/mach-ixp2000/enp2611.c | 3 | ||||
-rw-r--r-- | arch/arm/mach-ixp2000/ixdp2400.c | 3 | ||||
-rw-r--r-- | arch/arm/mach-ixp2000/ixdp2800.c | 3 | ||||
-rw-r--r-- | arch/arm/mach-ixp2000/ixdp2x01.c | 3 |
4 files changed, 8 insertions, 4 deletions
diff --git a/arch/arm/mach-ixp2000/enp2611.c b/arch/arm/mach-ixp2000/enp2611.c index 88663ab1d2ad..62c60ade5274 100644 --- a/arch/arm/mach-ixp2000/enp2611.c +++ b/arch/arm/mach-ixp2000/enp2611.c | |||
@@ -148,7 +148,8 @@ static struct pci_bus * __init enp2611_pci_scan_bus(int nr, | |||
148 | return pci_scan_bus(sys->busnr, &enp2611_pci_ops, sys); | 148 | return pci_scan_bus(sys->busnr, &enp2611_pci_ops, sys); |
149 | } | 149 | } |
150 | 150 | ||
151 | static int __init enp2611_pci_map_irq(struct pci_dev *dev, u8 slot, u8 pin) | 151 | static int __init enp2611_pci_map_irq(const struct pci_dev *dev, u8 slot, |
152 | u8 pin) | ||
152 | { | 153 | { |
153 | int irq; | 154 | int irq; |
154 | 155 | ||
diff --git a/arch/arm/mach-ixp2000/ixdp2400.c b/arch/arm/mach-ixp2000/ixdp2400.c index dfffc1e817fa..5bad1a8419b7 100644 --- a/arch/arm/mach-ixp2000/ixdp2400.c +++ b/arch/arm/mach-ixp2000/ixdp2400.c | |||
@@ -78,7 +78,8 @@ int ixdp2400_pci_setup(int nr, struct pci_sys_data *sys) | |||
78 | return 1; | 78 | return 1; |
79 | } | 79 | } |
80 | 80 | ||
81 | static int __init ixdp2400_pci_map_irq(struct pci_dev *dev, u8 slot, u8 pin) | 81 | static int __init ixdp2400_pci_map_irq(const struct pci_dev *dev, u8 slot, |
82 | u8 pin) | ||
82 | { | 83 | { |
83 | if (ixdp2x00_master_npu()) { | 84 | if (ixdp2x00_master_npu()) { |
84 | 85 | ||
diff --git a/arch/arm/mach-ixp2000/ixdp2800.c b/arch/arm/mach-ixp2000/ixdp2800.c index cd4c9bcff2b5..3d3cef876467 100644 --- a/arch/arm/mach-ixp2000/ixdp2800.c +++ b/arch/arm/mach-ixp2000/ixdp2800.c | |||
@@ -161,7 +161,8 @@ static int __init ixdp2800_pci_setup(int nr, struct pci_sys_data *sys) | |||
161 | return 1; | 161 | return 1; |
162 | } | 162 | } |
163 | 163 | ||
164 | static int __init ixdp2800_pci_map_irq(struct pci_dev *dev, u8 slot, u8 pin) | 164 | static int __init ixdp2800_pci_map_irq(const struct pci_dev *dev, u8 slot, |
165 | u8 pin) | ||
165 | { | 166 | { |
166 | if (ixdp2x00_master_npu()) { | 167 | if (ixdp2x00_master_npu()) { |
167 | 168 | ||
diff --git a/arch/arm/mach-ixp2000/ixdp2x01.c b/arch/arm/mach-ixp2000/ixdp2x01.c index 84835b209557..be2a254f1374 100644 --- a/arch/arm/mach-ixp2000/ixdp2x01.c +++ b/arch/arm/mach-ixp2000/ixdp2x01.c | |||
@@ -252,7 +252,8 @@ void __init ixdp2x01_pci_preinit(void) | |||
252 | 252 | ||
253 | #define DEVPIN(dev, pin) ((pin) | ((dev) << 3)) | 253 | #define DEVPIN(dev, pin) ((pin) | ((dev) << 3)) |
254 | 254 | ||
255 | static int __init ixdp2x01_pci_map_irq(struct pci_dev *dev, u8 slot, u8 pin) | 255 | static int __init ixdp2x01_pci_map_irq(const struct pci_dev *dev, u8 slot, |
256 | u8 pin) | ||
256 | { | 257 | { |
257 | u8 bus = dev->bus->number; | 258 | u8 bus = dev->bus->number; |
258 | u32 devpin = DEVPIN(PCI_SLOT(dev->devfn), pin); | 259 | u32 devpin = DEVPIN(PCI_SLOT(dev->devfn), pin); |