summaryrefslogtreecommitdiffstats
path: root/arch/riscv/include
diff options
context:
space:
mode:
authorDavid Abdurachmanov <david.abdurachmanov@gmail.com>2018-11-08 20:07:00 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-12-13 09:16:14 +0100
commitd69eb98a86c0ed560b303a1a078e668d230d9d39 (patch)
tree1feb28fe7874552b3e5cbb02734109a3b1ae6831 /arch/riscv/include
parentbfa634ba505ab5ad24e1d40b49b23768d8e8d046 (diff)
downloadlinux-stable-d69eb98a86c0ed560b303a1a078e668d230d9d39.tar.gz
linux-stable-d69eb98a86c0ed560b303a1a078e668d230d9d39.tar.bz2
linux-stable-d69eb98a86c0ed560b303a1a078e668d230d9d39.zip
riscv: fix warning in arch/riscv/include/asm/module.h
[ Upstream commit 0138ebb90c633f76bc71617f8f23635ce41c84fd ] Fixes warning: 'struct module' declared inside parameter list will not be visible outside of this definition or declaration Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com> Acked-by: Olof Johansson <olof@lixom.net> Signed-off-by: Palmer Dabbelt <palmer@sifive.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch/riscv/include')
-rw-r--r--arch/riscv/include/asm/module.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/riscv/include/asm/module.h b/arch/riscv/include/asm/module.h
index 349df33808c4..cd2af4b013e3 100644
--- a/arch/riscv/include/asm/module.h
+++ b/arch/riscv/include/asm/module.h
@@ -8,6 +8,7 @@
#define MODULE_ARCH_VERMAGIC "riscv"
+struct module;
u64 module_emit_got_entry(struct module *mod, u64 val);
u64 module_emit_plt_entry(struct module *mod, u64 val);