提交 d69eb98a 编写于 作者: D David Abdurachmanov 提交者: Greg Kroah-Hartman

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: NDavid Abdurachmanov <david.abdurachmanov@gmail.com>
Acked-by: NOlof Johansson <olof@lixom.net>
Signed-off-by: NPalmer Dabbelt <palmer@sifive.com>
Signed-off-by: NSasha Levin <sashal@kernel.org>
上级 bfa634ba
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
#define MODULE_ARCH_VERMAGIC "riscv" #define MODULE_ARCH_VERMAGIC "riscv"
struct module;
u64 module_emit_got_entry(struct module *mod, u64 val); u64 module_emit_got_entry(struct module *mod, u64 val);
u64 module_emit_plt_entry(struct module *mod, u64 val); u64 module_emit_plt_entry(struct module *mod, u64 val);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册