From: David Abdurachmanov Date: Thu, 8 Nov 2018 19:07:00 +0000 (+0100) Subject: riscv: fix warning in arch/riscv/include/asm/module.h X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=0138ebb90c633f76bc71617f8f23635ce41c84fd;p=openwrt%2Fstaging%2Fblogic.git riscv: fix warning in arch/riscv/include/asm/module.h Fixes warning: 'struct module' declared inside parameter list will not be visible outside of this definition or declaration Signed-off-by: David Abdurachmanov Acked-by: Olof Johansson Signed-off-by: Palmer Dabbelt --- 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);