[PATCH v2 07/15] ACPI: memhotplug: fix a coding style issue
From: Xiaofei Tan
Date: Sat Mar 27 2021 - 03:52:45 EST
Fix the following coding style issue reported by checkpatch.pl
WARNING: __initdata should be placed after acpi_no_memhotplug
FILE: drivers/acpi/acpi_memhotplug.c:326:
+static bool __initdata acpi_no_memhotplug;
Signed-off-by: Xiaofei Tan <tanxiaofei@xxxxxxxxxx>
---
drivers/acpi/acpi_memhotplug.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/acpi/acpi_memhotplug.c b/drivers/acpi/acpi_memhotplug.c
index 8cc195c..5c5ed22 100644
--- a/drivers/acpi/acpi_memhotplug.c
+++ b/drivers/acpi/acpi_memhotplug.c
@@ -323,7 +323,7 @@ static void acpi_memory_device_remove(struct acpi_device *device)
acpi_memory_device_free(mem_device);
}
-static bool __initdata acpi_no_memhotplug;
+static bool acpi_no_memhotplug __initdata;
void __init acpi_memory_hotplug_init(void)
{
--
2.8.1