From: Thomas Gleixner Date: Thu, 24 Mar 2011 11:42:50 +0000 (+0100) Subject: arm: vt8500: Use proper irq accessors X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ce4ed256b8c2e67f6743cdb9a5ac1904ff9d2f0d;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git arm: vt8500: Use proper irq accessors Signed-off-by: Thomas Gleixner --- diff --git a/arch/arm/mach-vt8500/irq.c b/arch/arm/mach-vt8500/irq.c index 5f4ddde4f02a..cba4695c0fa3 100644 --- a/arch/arm/mach-vt8500/irq.c +++ b/arch/arm/mach-vt8500/irq.c @@ -97,15 +97,15 @@ static int vt8500_irq_set_type(unsigned int irq, unsigned int flow_type) return -EINVAL; case IRQF_TRIGGER_HIGH: dctr |= VT8500_TRIGGER_HIGH; - irq_desc[orig_irq].handle_irq = handle_level_irq; + __irq_set_handler_locked(orig_irq, handle_level_irq); break; case IRQF_TRIGGER_FALLING: dctr |= VT8500_TRIGGER_FALLING; - irq_desc[orig_irq].handle_irq = handle_edge_irq; + __irq_set_handler_locked(orig_irq, handle_edge_irq); break; case IRQF_TRIGGER_RISING: dctr |= VT8500_TRIGGER_RISING; - irq_desc[orig_irq].handle_irq = handle_edge_irq; + __irq_set_handler_locked(orig_irq, handle_edge_irq); break; } writeb(dctr, base + VT8500_IC_DCTR + irq);