diff --git a/arch/loongarch/kernel/legacy_boot.c b/arch/loongarch/kernel/legacy_boot.c index 204b33109f37..3701bff3884f 100644 --- a/arch/loongarch/kernel/legacy_boot.c +++ b/arch/loongarch/kernel/legacy_boot.c @@ -684,7 +684,7 @@ static __initconst const struct { }, }; -void __init acpi_arch_init (){ +void __init acpi_arch_init (void){ if (bpi_version == BPI_VERSION_NONE) { return; }