Skip to content

Commit 85e18ed

Browse files
arndbRussell King (Oracle)
authored andcommitted
ARM: 9315/1: fiq: include asm/mach/irq.h for prototypes
There are two global functions in fiq.c that get called from other files through an extern declaration, but a W=1 build warns about the header not being included before the definition: arch/arm/kernel/fiq.c:85:5: error: no previous prototype for 'show_fiq_list' [-Werror=missing-prototypes] arch/arm/kernel/fiq.c:159:13: error: no previous prototype for 'init_FIQ' [-Werror=missing-prototypes] Reviewed-by: Kees Cook <[email protected]> Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Russell King (Oracle) <[email protected]>
1 parent aecc83e commit 85e18ed

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/arm/kernel/fiq.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
#include <asm/cacheflush.h>
4646
#include <asm/cp15.h>
4747
#include <asm/fiq.h>
48+
#include <asm/mach/irq.h>
4849
#include <asm/irq.h>
4950
#include <asm/traps.h>
5051

0 commit comments

Comments
 (0)