riscv: irq: Fix no prototype warning
authorNanyong Sun <sunnanyong@huawei.com>
Fri, 5 Mar 2021 11:33:25 +0000 (19:33 +0800)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Wed, 10 Mar 2021 04:46:00 +0000 (20:46 -0800)
commit004570c3796bfe454a9cdfb9ab5d3ea48371fe48
treeeab986c408a4cd478d9202a19840af0df85dc393
parent030f1dfa855054db5d845eca7f04c8cfda1c9f51
riscv: irq: Fix no prototype warning

Fix the following W=1 kernel compilation warning:
arch/riscv/kernel/irq.c:19:13: warning: no previous prototype for ‘init_IRQ’ [-Wmissing-prototypes]
   19 | void __init init_IRQ(void)
      |             ^~~~~~~~

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Nanyong Sun <sunnanyong@huawei.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
arch/riscv/include/asm/irq.h