Skip to content

Commit 2332c61

Browse files
arndbRussell King (Oracle)
authored andcommitted
ARM: 9312/1: vfp: include asm/neon.h in vfpmodule.c
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] Reviewed-by: Kees Cook <[email protected]> Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Russell King (Oracle) <[email protected]>
1 parent 9d1f3aa commit 2332c61

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/arm/vfp/vfpmodule.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
#include <asm/thread_notify.h>
2626
#include <asm/traps.h>
2727
#include <asm/vfp.h>
28+
#include <asm/neon.h>
2829

2930
#include "vfpinstr.h"
3031
#include "vfp.h"

0 commit comments

Comments
 (0)