]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Loongson64: Make acpi_registers_setup() static
authorWei Yongjun <weiyongjun1@huawei.com>
Fri, 3 Jul 2020 03:57:36 +0000 (11:57 +0800)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Wed, 8 Jul 2020 09:30:10 +0000 (11:30 +0200)
commit00c4c3f51b20153c59f9d43afdc8875acc9faf09
tree288915d6be7e5bfb96a04aad105c8bf91e726236
parentfe3b79ce5f8b43d9406115a1cb3f66e9975b9d7c
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>
drivers/platform/mips/rs780e-acpi.c