diff options
author | Ben Dooks <ben-linux@fluff.org> | 2019-10-07 15:55:55 +0200 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2019-10-27 22:14:38 +0100 |
commit | a959f88735c09e3cea8b229ab86fcb946c41f9e8 (patch) | |
tree | c9c9c63ef861e0a2f4d4949dcbdbc4577898f6b5 /arch/arm/kernel | |
parent | ARM: 8909/1: make unexported items static (diff) | |
download | linux-a959f88735c09e3cea8b229ab86fcb946c41f9e8.tar.xz linux-a959f88735c09e3cea8b229ab86fcb946c41f9e8.zip |
ARM: 8910/1: fix missing declartion of module_frob_arch_sections
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>
Diffstat (limited to 'arch/arm/kernel')
-rw-r--r-- | arch/arm/kernel/module-plts.c | 1 |
1 files changed, 1 insertions, 0 deletions
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> |