diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-iop32x/irq.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/arch/arm/mach-iop32x/irq.c b/arch/arm/mach-iop32x/irq.c index ba59b2d17db1..d3426a120599 100644 --- a/arch/arm/mach-iop32x/irq.c +++ b/arch/arm/mach-iop32x/irq.c | |||
@@ -32,24 +32,24 @@ static void intstr_write(u32 val) | |||
32 | } | 32 | } |
33 | 33 | ||
34 | static void | 34 | static void |
35 | iop32x_irq_mask(unsigned int irq) | 35 | iop32x_irq_mask(struct irq_data *d) |
36 | { | 36 | { |
37 | iop32x_mask &= ~(1 << irq); | 37 | iop32x_mask &= ~(1 << d->irq); |
38 | intctl_write(iop32x_mask); | 38 | intctl_write(iop32x_mask); |
39 | } | 39 | } |
40 | 40 | ||
41 | static void | 41 | static void |
42 | iop32x_irq_unmask(unsigned int irq) | 42 | iop32x_irq_unmask(struct irq_data *d) |
43 | { | 43 | { |
44 | iop32x_mask |= 1 << irq; | 44 | iop32x_mask |= 1 << d->irq; |
45 | intctl_write(iop32x_mask); | 45 | intctl_write(iop32x_mask); |
46 | } | 46 | } |
47 | 47 | ||
48 | struct irq_chip ext_chip = { | 48 | struct irq_chip ext_chip = { |
49 | .name = "IOP32x", | 49 | .name = "IOP32x", |
50 | .ack = iop32x_irq_mask, | 50 | .irq_ack = iop32x_irq_mask, |
51 | .mask = iop32x_irq_mask, | 51 | .irq_mask = iop32x_irq_mask, |
52 | .unmask = iop32x_irq_unmask, | 52 | .irq_unmask = iop32x_irq_unmask, |
53 | }; | 53 | }; |
54 | 54 | ||
55 | void __init iop32x_init_irq(void) | 55 | void __init iop32x_init_irq(void) |