提交 86608903 编写于 作者: H Huacai Chen 提交者: Hongchen Zhang

irqchip/loongson-eiointc: Fix a build warning

mainline inclusion
from mainline-v6.0-rc2
commit 54cfa910
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I5OHOB
CVE: NA

--------------------------------

Make acpi_get_vec_parent() be a static function, to avoid:
drivers/irqchip/irq-loongson-eiointc.c:289:20: warning: no previous prototype for 'acpi_get_vec_parent'
Reported-by: Nkernel test robot <lkp@intel.com>
Signed-off-by: NHuacai Chen <chenhuacai@loongson.cn>
Signed-off-by: NMarc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20220804025457.213979-1-chenhuacai@loongson.cn
上级 0917a43f
...@@ -291,7 +291,7 @@ static void acpi_set_vec_parent(int node, struct irq_domain *parent, struct acpi ...@@ -291,7 +291,7 @@ static void acpi_set_vec_parent(int node, struct irq_domain *parent, struct acpi
} }
} }
struct irq_domain *acpi_get_vec_parent(int node, struct acpi_vector_group *vec_group) static struct irq_domain *acpi_get_vec_parent(int node, struct acpi_vector_group *vec_group)
{ {
int i; int i;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册