summaryrefslogtreecommitdiff
path: root/arch/arm/mach-msm/sirc.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-03-24 14:41:27 +0300
committerThomas Gleixner <tglx@linutronix.de>2011-03-29 16:47:54 +0400
commit70c4fa2265dde6570fe5bd300fe56986190d7c8c (patch)
treec4f58a77e66f8142488abece593aef7572478c1c /arch/arm/mach-msm/sirc.c
parent8c04a1769f9efa6e072114229b1714ddc0c86ad1 (diff)
downloadlinux-70c4fa2265dde6570fe5bd300fe56986190d7c8c.tar.xz
arm: msm: Use proper irq accessor functions
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/arm/mach-msm/sirc.c')
-rw-r--r--arch/arm/mach-msm/sirc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-msm/sirc.c b/arch/arm/mach-msm/sirc.c
index 11b54c7aeb09..cfab1c472fbc 100644
--- a/arch/arm/mach-msm/sirc.c
+++ b/arch/arm/mach-msm/sirc.c
@@ -105,10 +105,10 @@ static int sirc_irq_set_type(struct irq_data *d, unsigned int flow_type)
val = readl(sirc_regs.int_type);
if (flow_type & (IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING)) {
val |= mask;
- irq_desc[d->irq].handle_irq = handle_edge_irq;
+ __irq_set_handler_locked(d->irq, handle_edge_irq);
} else {
val &= ~mask;
- irq_desc[d->irq].handle_irq = handle_level_irq;
+ __irq_set_handler_locked(d->irq, handle_level_irq);
}
writel(val, sirc_regs.int_type);