diff options
author | Arnd Bergmann <arnd@arndb.de> | 2023-06-02 19:28:59 +0100 |
---|---|---|
committer | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2023-06-19 09:36:00 +0100 |
commit | 85e18ed32e2602c6985c85eec9da717b8daaf6b0 (patch) | |
tree | 94c3d464a7a1dbfd85d931dc7bc145f619f046cf /arch/arm/kernel | |
parent | aecc83e5064b397f125585ba703ac74a695c2d73 (diff) | |
download | lwn-85e18ed32e2602c6985c85eec9da717b8daaf6b0.tar.gz lwn-85e18ed32e2602c6985c85eec9da717b8daaf6b0.zip |
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 <keescook@chromium.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'arch/arm/kernel')
-rw-r--r-- | arch/arm/kernel/fiq.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/kernel/fiq.c b/arch/arm/kernel/fiq.c index 98ca3e3fa847..d2c8e5313539 100644 --- a/arch/arm/kernel/fiq.c +++ b/arch/arm/kernel/fiq.c @@ -45,6 +45,7 @@ #include <asm/cacheflush.h> #include <asm/cp15.h> #include <asm/fiq.h> +#include <asm/mach/irq.h> #include <asm/irq.h> #include <asm/traps.h> |