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>
This commit is contained in:
Miaohe Lin 2023-06-06 20:28:19 +08:00 committed by Rafael J. Wysocki
parent 4348270137
commit d38f6bcea8

View File

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