diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2020-07-03 06:57:36 +0300 |
---|---|---|
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2020-07-08 12:30:10 +0300 |
commit | 520010668a26952ed6f4130b5385a3f4df970a6a (patch) | |
tree | 288915d6be7e5bfb96a04aad105c8bf91e726236 | |
parent | 994334933efd396d0727500c87da1a81b17232d6 (diff) | |
download | linux-520010668a26952ed6f4130b5385a3f4df970a6a.tar.xz |
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>
-rw-r--r-- | drivers/platform/mips/rs780e-acpi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/mips/rs780e-acpi.c b/drivers/platform/mips/rs780e-acpi.c index e5a643b78ac9..bb0e8ae0eefd 100644 --- a/drivers/platform/mips/rs780e-acpi.c +++ b/drivers/platform/mips/rs780e-acpi.c @@ -69,7 +69,7 @@ static void acpi_hw_clear_status(void) outl(inl(ACPI_GPE0_BLK), ACPI_GPE0_BLK); } -void acpi_registers_setup(void) +static void acpi_registers_setup(void) { u32 value; |