summaryrefslogtreecommitdiff
path: root/drivers/acpi/apei
diff options
context:
space:
mode:
authorMiaohe Lin <linmiaohe@huawei.com>2023-06-06 20:28:19 +0800
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2023-06-12 19:23:25 +0200
commitd38f6bcea88836bfb346a6d567c452065417e2ed (patch)
treee972b7824a72785b805b8ef522b055e252a0da71 /drivers/acpi/apei
parent4348270137e2be2542c4dd092a75cb6655913477 (diff)
ACPI: APEI: mark bert_disable as __initdata
It's only used inside the __init section. Mark it __initdata. Signed-off-by: Miaohe Lin <linmiaohe@huawei.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/apei')
-rw-r--r--drivers/acpi/apei/bert.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/apei/bert.c b/drivers/acpi/apei/bert.c
index 7514e38d5640..5427e49e646b 100644
--- a/drivers/acpi/apei/bert.c
+++ b/drivers/acpi/apei/bert.c
@@ -34,7 +34,7 @@
#define ACPI_BERT_PRINT_MAX_RECORDS 5
#define ACPI_BERT_PRINT_MAX_LEN 1024
-static int bert_disable;
+static int bert_disable __initdata;
/*
* Print "all" the error records in the BERT table, but avoid huge spam to