[PATCH 03/16] ARM: vfp: include asm/neon.h in vfpmodule.c
Arnd Bergmann
arnd at kernel.org
Tue May 16 08:45:52 PDT 2023
From: Arnd Bergmann <arnd at arndb.de>
Two functions defined here need the declaration in a header
to avoid W=1 warnings:
arch/arm/vfp/vfpmodule.c:735:6: error: no previous prototype for 'kernel_neon_begin' [-Werror=missing-prototypes]
arch/arm/vfp/vfpmodule.c:768:6: error: no previous prototype for 'kernel_neon_end' [-Werror=missing-prototypes]
Signed-off-by: Arnd Bergmann <arnd at arndb.de>
---
arch/arm/vfp/vfpmodule.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/vfp/vfpmodule.c b/arch/arm/vfp/vfpmodule.c
index 349dcb944a93..1ba5078c1025 100644
--- a/arch/arm/vfp/vfpmodule.c
+++ b/arch/arm/vfp/vfpmodule.c
@@ -25,6 +25,7 @@
#include <asm/thread_notify.h>
#include <asm/traps.h>
#include <asm/vfp.h>
+#include <asm/neon.h>
#include "vfpinstr.h"
#include "vfp.h"
--
2.39.2
More information about the linux-arm-kernel
mailing list