diff options
author | Lennert Buytenhek <buytenh@wantstofly.org> | 2010-11-29 04:27:47 -0500 |
---|---|---|
committer | Lennert Buytenhek <buytenh@wantstofly.org> | 2011-01-13 11:18:27 -0500 |
commit | aa456a6eba197f0774d68531342ba7f85ccf2971 (patch) | |
tree | 85d2dda2f6c848f759d7e256dda2840add790c21 | |
parent | 23265442b02b3cc3c0dd2bf89bc235970c629806 (diff) |
ARM: dove: irq_data conversion.
Signed-off-by: Lennert Buytenhek <buytenh@secretlab.ca>
Acked-by: Nicolas Pitre <nico@fluxnic.net>
-rw-r--r-- | arch/arm/mach-dove/irq.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/arch/arm/mach-dove/irq.c b/arch/arm/mach-dove/irq.c index 61bfcb3b08c2..9317f0558b57 100644 --- a/arch/arm/mach-dove/irq.c +++ b/arch/arm/mach-dove/irq.c | |||
@@ -36,9 +36,9 @@ static void gpio_irq_handler(unsigned int irq, struct irq_desc *desc) | |||
36 | } | 36 | } |
37 | } | 37 | } |
38 | 38 | ||
39 | static void pmu_irq_mask(unsigned int irq) | 39 | static void pmu_irq_mask(struct irq_data *d) |
40 | { | 40 | { |
41 | int pin = irq_to_pmu(irq); | 41 | int pin = irq_to_pmu(d->irq); |
42 | u32 u; | 42 | u32 u; |
43 | 43 | ||
44 | u = readl(PMU_INTERRUPT_MASK); | 44 | u = readl(PMU_INTERRUPT_MASK); |
@@ -46,9 +46,9 @@ static void pmu_irq_mask(unsigned int irq) | |||
46 | writel(u, PMU_INTERRUPT_MASK); | 46 | writel(u, PMU_INTERRUPT_MASK); |
47 | } | 47 | } |
48 | 48 | ||
49 | static void pmu_irq_unmask(unsigned int irq) | 49 | static void pmu_irq_unmask(struct irq_data *d) |
50 | { | 50 | { |
51 | int pin = irq_to_pmu(irq); | 51 | int pin = irq_to_pmu(d->irq); |
52 | u32 u; | 52 | u32 u; |
53 | 53 | ||
54 | u = readl(PMU_INTERRUPT_MASK); | 54 | u = readl(PMU_INTERRUPT_MASK); |
@@ -56,9 +56,9 @@ static void pmu_irq_unmask(unsigned int irq) | |||
56 | writel(u, PMU_INTERRUPT_MASK); | 56 | writel(u, PMU_INTERRUPT_MASK); |
57 | } | 57 | } |
58 | 58 | ||
59 | static void pmu_irq_ack(unsigned int irq) | 59 | static void pmu_irq_ack(struct irq_data *d) |
60 | { | 60 | { |
61 | int pin = irq_to_pmu(irq); | 61 | int pin = irq_to_pmu(d->irq); |
62 | u32 u; | 62 | u32 u; |
63 | 63 | ||
64 | u = ~(1 << (pin & 31)); | 64 | u = ~(1 << (pin & 31)); |
@@ -67,9 +67,9 @@ static void pmu_irq_ack(unsigned int irq) | |||
67 | 67 | ||
68 | static struct irq_chip pmu_irq_chip = { | 68 | static struct irq_chip pmu_irq_chip = { |
69 | .name = "pmu_irq", | 69 | .name = "pmu_irq", |
70 | .mask = pmu_irq_mask, | 70 | .irq_mask = pmu_irq_mask, |
71 | .unmask = pmu_irq_unmask, | 71 | .irq_unmask = pmu_irq_unmask, |
72 | .ack = pmu_irq_ack, | 72 | .irq_ack = pmu_irq_ack, |
73 | }; | 73 | }; |
74 | 74 | ||
75 | static void pmu_irq_handler(unsigned int irq, struct irq_desc *desc) | 75 | static void pmu_irq_handler(unsigned int irq, struct irq_desc *desc) |