004570c379
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>
18 lines
347 B
C
18 lines
347 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright (C) 2012 Regents of the University of California
|
|
* Copyright (C) 2017 SiFive
|
|
*/
|
|
|
|
#ifndef _ASM_RISCV_IRQ_H
|
|
#define _ASM_RISCV_IRQ_H
|
|
|
|
#include <linux/interrupt.h>
|
|
#include <linux/linkage.h>
|
|
|
|
#include <asm-generic/irq.h>
|
|
|
|
extern void __init init_IRQ(void);
|
|
|
|
#endif /* _ASM_RISCV_IRQ_H */
|