riscv: Fixed kernel test robot warning
authorSouptick Joarder <jrdr.linux@gmail.com>
Tue, 8 Dec 2020 19:27:18 +0000 (00:57 +0530)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Fri, 11 Dec 2020 01:47:23 +0000 (17:47 -0800)
commit3ae9c3cde51abcb777125cfcf74cc402f4d0a4c7
treefc151853675ad0b3444d186c79ed3f4515242c28
parent772e1b7c426762159e5150ecff5268e6e1f361d3
riscv: Fixed kernel test robot warning

Kernel test robot throws below warning -

   arch/riscv/kernel/asm-offsets.c:14:6: warning: no previous prototype
for 'asm_offsets' [-Wmissing-prototypes]
      14 | void asm_offsets(void)
         |      ^~~~~~~~~~~

This patch should fixed it.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Souptick Joarder <jrdr.linux@gmail.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
arch/riscv/kernel/asm-offsets.c