[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1611833479-87653-1-git-send-email-zou_wei@huawei.com>
Date: Thu, 28 Jan 2021 19:31:19 +0800
From: Zou Wei <zou_wei@...wei.com>
To: <rjw@...ysocki.net>, <lenb@...nel.org>
CC: <rui.zhang@...el.com>, <linux-acpi@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, Zou Wei <zou_wei@...wei.com>
Subject: [PATCH -next] ACPI: tables: Mark acpi_init_fpdt with static keyword
Fix the following sparse warning:
drivers/acpi/acpi_fpdt.c:230:6: warning: symbol 'acpi_init_fpdt' was not declared. Should it be static?
Signed-off-by: Zou Wei <zou_wei@...wei.com>
---
drivers/acpi/acpi_fpdt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/acpi/acpi_fpdt.c b/drivers/acpi/acpi_fpdt.c
index b810811..968f9cc 100644
--- a/drivers/acpi/acpi_fpdt.c
+++ b/drivers/acpi/acpi_fpdt.c
@@ -227,7 +227,7 @@ static int fpdt_process_subtable(u64 address, u32 subtable_type)
return 0;
}
-void acpi_init_fpdt(void)
+static void acpi_init_fpdt(void)
{
acpi_status status;
struct acpi_table_header *header;
--
2.6.2
Powered by blists - more mailing lists