From 73171d15873e9246c82aeda5c7fd8ec11cb97be9 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Tue, 20 Nov 2012 23:00:53 +0100 Subject: arm: add set_handle_irq() to register the parent IRQ controller handler function In order to allow irqchip drivers to register their IRQ handling function as the parent IRQ controller handler function, we provide a convenience function. This will avoid poking directly into the global handle_arch_irq variable. Suggested by Arnd Bergmann. Signed-off-by: Thomas Petazzoni [Rob Herring: remove warning. 1st one to initialize wins.] Signed-off-by: Rob Herring Acked-by: Olof Johansson --- arch/arm/include/asm/mach/irq.h | 1 + 1 file changed, 1 insertion(+) (limited to 'arch/arm/include/asm/mach/irq.h') diff --git a/arch/arm/include/asm/mach/irq.h b/arch/arm/include/asm/mach/irq.h index 15cb035309f7..18c883023339 100644 --- a/arch/arm/include/asm/mach/irq.h +++ b/arch/arm/include/asm/mach/irq.h @@ -22,6 +22,7 @@ extern int show_fiq_list(struct seq_file *, int); #ifdef CONFIG_MULTI_IRQ_HANDLER extern void (*handle_arch_irq)(struct pt_regs *); +extern void set_handle_irq(void (*handle_irq)(struct pt_regs *)); #endif /* -- cgit