mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH -next] ACPI: tables: Mark acpi_init_fpdt with static keyword
@ 2021-01-28 11:31 Zou Wei
  2021-01-29  6:25 ` Zhang Rui
  0 siblings, 1 reply; 3+ messages in thread
From: Zou Wei @ 2021-01-28 11:31 UTC (permalink / raw)
  To: rjw, lenb; +Cc: rui.zhang, linux-acpi, linux-kernel, Zou Wei

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@huawei.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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-01-30  4:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-28 11:31 [PATCH -next] ACPI: tables: Mark acpi_init_fpdt with static keyword Zou Wei
2021-01-29  6:25 ` Zhang Rui
2021-01-30  2:23   ` 答复: " Zouwei (Samuel)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®