]> rtime.felk.cvut.cz Git - linux-imx.git/commitdiff
metag/asm/irq.h: Declare init_IRQ
authorMarkos Chandras <markos.chandras@imgtec.com>
Tue, 7 May 2013 15:51:28 +0000 (16:51 +0100)
committerJames Hogan <james.hogan@imgtec.com>
Thu, 13 Jun 2013 11:55:28 +0000 (12:55 +0100)
Fixes the following sparce warning:

warning: symbol 'init_IRQ' was not declared. Should it be static?

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Signed-off-by: James Hogan <james.hogan@imgtec.com>
arch/metag/include/asm/irq.h

index be0c8f3c5a5dc73f2c56b7cb7c81476bb797912e..ad6bd0edbc3bf8a43a3796f1c11eb49e8a7ec0b9 100644 (file)
@@ -17,6 +17,7 @@ struct pt_regs;
 
 int tbisig_map(unsigned int hw);
 extern void do_IRQ(int irq, struct pt_regs *regs);
+extern void init_IRQ(void);
 
 #ifdef CONFIG_METAG_SUSPEND_MEM
 int traps_save_context(void);