ARM: spear: include "pl080.h" for pl080_get_signal() prototype
authorArnd Bergmann <arnd@arndb.de>
Tue, 16 May 2023 15:31:08 +0000 (17:31 +0200)
committerArnd Bergmann <arnd@arndb.de>
Fri, 26 May 2023 11:33:05 +0000 (13:33 +0200)
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 <viresh.kumar@linaro.org>
Link: https://lore.kernel.org/r/20230516153109.514251-13-arnd@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/mach-spear/pl080.c

index d6b8627d25447abb77e4849385350c5fe6971029..47243a8153d02b387a34071b30221b1d10bf46cf 100644 (file)
@@ -16,6 +16,7 @@
 #include <linux/spinlock_types.h>
 #include "spear.h"
 #include "misc_regs.h"
+#include "pl080.h"
 
 static spinlock_t lock = __SPIN_LOCK_UNLOCKED(x);