aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-integrator/pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-integrator/pci.c')
-rw-r--r--arch/arm/mach-integrator/pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-integrator/pci.c b/arch/arm/mach-integrator/pci.c
index 2fdb95433f0a..520b6bf81bb1 100644
--- a/arch/arm/mach-integrator/pci.c
+++ b/arch/arm/mach-integrator/pci.c
@@ -95,7 +95,7 @@ static int irq_tab[4] __initdata = {
95 * map the specified device/slot/pin to an IRQ. This works out such 95 * map the specified device/slot/pin to an IRQ. This works out such
96 * that slot 9 pin 1 is INT0, pin 2 is INT1, and slot 10 pin 1 is INT1. 96 * that slot 9 pin 1 is INT0, pin 2 is INT1, and slot 10 pin 1 is INT1.
97 */ 97 */
98static int __init integrator_map_irq(struct pci_dev *dev, u8 slot, u8 pin) 98static int __init integrator_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
99{ 99{
100 int intnr = ((slot - 9) + (pin - 1)) & 3; 100 int intnr = ((slot - 9) + (pin - 1)) & 3;
101 101