Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

MIPS: Loongson64: Make acpi_registers_setup() static

sparse report build warning as follows:

drivers/platform/mips/rs780e-acpi.c:72:6: warning:
symbol 'acpi_registers_setup' was not declared. Should it be static?

And function acpi_registers_setup() is not used outside of this file,
so marks it static.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>

authored by

Wei Yongjun and committed by
Thomas Bogendoerfer
52001066 99433493

+1 -1
+1 -1
drivers/platform/mips/rs780e-acpi.c
··· 69 69 outl(inl(ACPI_GPE0_BLK), ACPI_GPE0_BLK); 70 70 } 71 71 72 - void acpi_registers_setup(void) 72 + static void acpi_registers_setup(void) 73 73 { 74 74 u32 value; 75 75