From: Arnd Bergmann Date: Tue, 16 May 2023 15:31:08 +0000 (+0200) Subject: ARM: spear: include "pl080.h" for pl080_get_signal() prototype X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=5e40c79a513bff9b9f5c00d469de31d7318e3252;p=linux.git ARM: spear: include "pl080.h" for pl080_get_signal() prototype pl080_get_signal() and pl080_put_signal() are declared in pl080.h and defined in pl080.c, but this file is missing an include of the header: arch/arm/mach-spear/pl080.c:27:5: error: no previous prototype for 'pl080_get_signal' arch/arm/mach-spear/pl080.c:62:6: error: no previous prototype for 'pl080_put_signal' Acked-by: Viresh Kumar Link: https://lore.kernel.org/r/20230516153109.514251-13-arnd@kernel.org Signed-off-by: Arnd Bergmann --- diff --git a/arch/arm/mach-spear/pl080.c b/arch/arm/mach-spear/pl080.c index d6b8627d25447..47243a8153d02 100644 --- a/arch/arm/mach-spear/pl080.c +++ b/arch/arm/mach-spear/pl080.c @@ -16,6 +16,7 @@ #include #include "spear.h" #include "misc_regs.h" +#include "pl080.h" static spinlock_t lock = __SPIN_LOCK_UNLOCKED(x);