irqchip/loongarch-cpu: Fix a missing prototype warning
authorHuacai Chen <chenhuacai@loongson.cn>
Mon, 5 Dec 2022 04:47:08 +0000 (12:47 +0800)
committerMarc Zyngier <maz@kernel.org>
Mon, 5 Dec 2022 10:42:35 +0000 (10:42 +0000)
commit065abd13a63f40318162eeca6c0215fc5cbb9b0a
treeaca359d1e79f6dfb024ff7c63b3e14fdf5756ba1
parent6b2748ada244c7597e9b677a0bdda4e8781a8d8f
irqchip/loongarch-cpu: Fix a missing prototype warning

1, Rename loongarch_cpu_irq_of_init() to cpuintc_of_init() in order to
   keep the same style as the ACPI version.
2, Fix a missing prototype warning by adding a "static" modifier.

Fixes: 855d4ca4bdb366aab3d4 ("irqchip: loongarch-cpu: add DT support")
Reported-by: kernel test robot <lkp@intel.com>
Cc: Peibao Liu <liupeibao@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20221205044708.2054022-1-chenhuacai@loongson.cn
drivers/irqchip/irq-loongarch-cpu.c