ARM: 8910/1: fix missing declartion of module_frob_arch_sections
authorBen Dooks <ben-linux@fluff.org>
Mon, 7 Oct 2019 13:55:55 +0000 (14:55 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Sun, 27 Oct 2019 21:14:38 +0000 (21:14 +0000)
The module_frob_arch_sections function is missing the header declaration
which is in <linux/moduleloader.h> so include that to fix the following
sparse warning:

arch/arm/kernel/module-plts.c:188:5: warning: symbol 'module_frob_arch_sections' was not declared. Should it be static?

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/kernel/module-plts.c

index b647741..6e626ab 100644 (file)
@@ -7,6 +7,7 @@
 #include <linux/kernel.h>
 #include <linux/module.h>
 #include <linux/sort.h>
+#include <linux/moduleloader.h>
 
 #include <asm/cache.h>
 #include <asm/opcodes.h>