aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-dove/irq.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2011-01-15 15:33:40 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2011-01-15 15:33:40 -0500
commit16c1020362083b320868c0deef492249089c3cd3 (patch)
treeff200df3502e6010745713275d69fd0a07e399cf /arch/arm/mach-dove/irq.c
parent65e5d002b5ad220db2bf9557f53de5a98f7dab86 (diff)
parentbbba75606963c82febf7bd2761ea848ac5d1a1bb (diff)
Merge branch 'devel-stable' of master.kernel.org:/home/rmk/linux-2.6-arm
* 'devel-stable' of master.kernel.org:/home/rmk/linux-2.6-arm: (161 commits) ARM: pxa: fix building issue of missing physmap.h ARM: mmp: PXA910 drive strength FAST using wrong value ARM: mmp: MMP2 drive strength FAST using wrong value ARM: pxa: fix recursive calls in pxa_low_gpio_chip AT91: Support for gsia18s board AT91: Acme Systems FOX Board G20 board files AT91: board-sam9m10g45ek.c: Remove duplicate inclusion of mach/hardware.h ARM: pxa: fix suspend/resume array index miscalculation ARM: pxa: use cpu_has_ipr() consistently in irq.c ARM: pxa: remove unused variable in clock-pxa3xx.c ARM: pxa: fix warning in zeus.c ARM: sa1111: fix typo in sa1111_retrigger_lowirq() ARM mxs: clkdev related compile fixes ARM i.MX mx31_3ds: Fix MC13783 regulator names ARM: plat-stmp3xxx: irq_data conversion. ARM: plat-spear: irq_data conversion. ARM: plat-orion: irq_data conversion. ARM: plat-omap: irq_data conversion. ARM: plat-nomadik: irq_data conversion. ARM: plat-mxc: irq_data conversion. ... Fix up trivial conflict in arch/arm/plat-omap/gpio.c (Lennert Buytenhek's irq_data conversion clashing with some omap irq updates)
Diffstat (limited to 'arch/arm/mach-dove/irq.c')
-rw-r--r--arch/arm/mach-dove/irq.c18
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
39static void pmu_irq_mask(unsigned int irq) 39static 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
49static void pmu_irq_unmask(unsigned int irq) 49static 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
59static void pmu_irq_ack(unsigned int irq) 59static 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
68static struct irq_chip pmu_irq_chip = { 68static 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
75static void pmu_irq_handler(unsigned int irq, struct irq_desc *desc) 75static void pmu_irq_handler(unsigned int irq, struct irq_desc *desc)