ARM: 9315/1: fiq: include asm/mach/irq.h for prototypes
authorArnd Bergmann <arnd@arndb.de>
Fri, 2 Jun 2023 18:28:59 +0000 (19:28 +0100)
committerRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Mon, 19 Jun 2023 08:36:00 +0000 (09:36 +0100)
commit85e18ed32e2602c6985c85eec9da717b8daaf6b0
tree94c3d464a7a1dbfd85d931dc7bc145f619f046cf
parentaecc83e5064b397f125585ba703ac74a695c2d73
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>
arch/arm/kernel/fiq.c