OSDN Git Service

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)
commit520010668a26952ed6f4130b5385a3f4df970a6a
tree288915d6be7e5bfb96a04aad105c8bf91e726236
parent994334933efd396d0727500c87da1a81b17232d6
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