diff mbox series

[2/4] arm: fix missing declartion of module_frob_arch_sections

Message ID 20190925141604.23364-2-ben.dooks@codethink.co.uk (mailing list archive)
State Mainlined
Commit a959f88735c09e3cea8b229ab86fcb946c41f9e8
Headers show
Series [1/4] arm: make unexported items static | expand

Commit Message

Ben Dooks Sept. 25, 2019, 2:16 p.m. UTC
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>
---
 arch/arm/kernel/module-plts.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/arch/arm/kernel/module-plts.c b/arch/arm/kernel/module-plts.c
index b647741c0ab0..6e626abaefc5 100644
--- a/arch/arm/kernel/module-plts.c
+++ b/arch/arm/kernel/module-plts.c
@@ -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>