diff options
author | Miaohe Lin <linmiaohe@huawei.com> | 2023-06-06 15:28:19 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2023-06-12 20:23:25 +0300 |
commit | d38f6bcea88836bfb346a6d567c452065417e2ed (patch) | |
tree | e972b7824a72785b805b8ef522b055e252a0da71 /drivers/acpi/apei | |
parent | 4348270137e2be2542c4dd092a75cb6655913477 (diff) | |
download | linux-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/apei')
-rw-r--r-- | drivers/acpi/apei/bert.c | 2 |
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 |