aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-mxc/avic.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/plat-mxc/avic.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/plat-mxc/avic.c')
-rw-r--r--arch/arm/plat-mxc/avic.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/arch/arm/plat-mxc/avic.c b/arch/arm/plat-mxc/avic.c
index 9a4e8a22dd0a..deb284bc7c4b 100644
--- a/arch/arm/plat-mxc/avic.c
+++ b/arch/arm/plat-mxc/avic.c
@@ -89,22 +89,22 @@ static int avic_set_irq_fiq(unsigned int irq, unsigned int type)
89#endif /* CONFIG_FIQ */ 89#endif /* CONFIG_FIQ */
90 90
91/* Disable interrupt number "irq" in the AVIC */ 91/* Disable interrupt number "irq" in the AVIC */
92static void mxc_mask_irq(unsigned int irq) 92static void mxc_mask_irq(struct irq_data *d)
93{ 93{
94 __raw_writel(irq, avic_base + AVIC_INTDISNUM); 94 __raw_writel(d->irq, avic_base + AVIC_INTDISNUM);
95} 95}
96 96
97/* Enable interrupt number "irq" in the AVIC */ 97/* Enable interrupt number "irq" in the AVIC */
98static void mxc_unmask_irq(unsigned int irq) 98static void mxc_unmask_irq(struct irq_data *d)
99{ 99{
100 __raw_writel(irq, avic_base + AVIC_INTENNUM); 100 __raw_writel(d->irq, avic_base + AVIC_INTENNUM);
101} 101}
102 102
103static struct mxc_irq_chip mxc_avic_chip = { 103static struct mxc_irq_chip mxc_avic_chip = {
104 .base = { 104 .base = {
105 .ack = mxc_mask_irq, 105 .irq_ack = mxc_mask_irq,
106 .mask = mxc_mask_irq, 106 .irq_mask = mxc_mask_irq,
107 .unmask = mxc_unmask_irq, 107 .irq_unmask = mxc_unmask_irq,
108 }, 108 },
109#ifdef CONFIG_MXC_IRQ_PRIOR 109#ifdef CONFIG_MXC_IRQ_PRIOR
110 .set_priority = avic_irq_set_priority, 110 .set_priority = avic_irq_set_priority,