Skip to content

Commit

Permalink
riscv: fix warning in arch/riscv/include/asm/module.h
Browse files Browse the repository at this point in the history
Fixes warning: 'struct module' declared inside parameter list will not be
visible outside of this definition or declaration

Signed-off-by: David Abdurachmanov <[email protected]>
Acked-by: Olof Johansson <[email protected]>
Signed-off-by: Palmer Dabbelt <[email protected]>
  • Loading branch information
davidlt authored and palmer-dabbelt committed Nov 20, 2018
1 parent c0fbcd9 commit 0138ebb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/riscv/include/asm/module.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 0138ebb

Please sign in to comment.