aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorLennert Buytenhek <buytenh@wantstofly.org>2010-11-29 04:29:25 -0500
committerLennert Buytenhek <buytenh@wantstofly.org>2011-01-13 11:18:28 -0500
commitc365e506d18154bf430da10679e427abe982a84c (patch)
tree8987c65df84ed572616c10fd1ec4f9fbcc06b782 /arch/arm
parentaa456a6eba197f0774d68531342ba7f85ccf2971 (diff)
ARM: ebsa110: irq_data conversion.
Signed-off-by: Lennert Buytenhek <buytenh@secretlab.ca> Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-ebsa110/core.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/arch/arm/mach-ebsa110/core.c b/arch/arm/mach-ebsa110/core.c
index 5df4099fc14f..7df083f37fa7 100644
--- a/arch/arm/mach-ebsa110/core.c
+++ b/arch/arm/mach-ebsa110/core.c
@@ -35,20 +35,20 @@
35#define IRQ_STAT 0xff000000 /* read */ 35#define IRQ_STAT 0xff000000 /* read */
36#define IRQ_MCLR 0xff000000 /* write */ 36#define IRQ_MCLR 0xff000000 /* write */
37 37
38static void ebsa110_mask_irq(unsigned int irq) 38static void ebsa110_mask_irq(struct irq_data *d)
39{ 39{
40 __raw_writeb(1 << irq, IRQ_MCLR); 40 __raw_writeb(1 << d->irq, IRQ_MCLR);
41} 41}
42 42
43static void ebsa110_unmask_irq(unsigned int irq) 43static void ebsa110_unmask_irq(struct irq_data *d)
44{ 44{
45 __raw_writeb(1 << irq, IRQ_MSET); 45 __raw_writeb(1 << d->irq, IRQ_MSET);
46} 46}
47 47
48static struct irq_chip ebsa110_irq_chip = { 48static struct irq_chip ebsa110_irq_chip = {
49 .ack = ebsa110_mask_irq, 49 .irq_ack = ebsa110_mask_irq,
50 .mask = ebsa110_mask_irq, 50 .irq_mask = ebsa110_mask_irq,
51 .unmask = ebsa110_unmask_irq, 51 .irq_unmask = ebsa110_unmask_irq,
52}; 52};
53 53
54static void __init ebsa110_init_irq(void) 54static void __init ebsa110_init_irq(void)