summaryrefslogtreecommitdiff
path: root/drivers/acpi
diff options
context:
space:
mode:
authorMiaohe Lin <linmiaohe@huawei.com>2023-06-06 15:28:19 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2023-06-12 20:23:25 +0300
commitd38f6bcea88836bfb346a6d567c452065417e2ed (patch)
treee972b7824a72785b805b8ef522b055e252a0da71 /drivers/acpi
parent4348270137e2be2542c4dd092a75cb6655913477 (diff)
downloadlinux-d38f6bcea88836bfb346a6d567c452065417e2ed.tar.xz
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')
-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