From: Miaohe Lin Date: Tue, 6 Jun 2023 12:28:19 +0000 (+0800) Subject: ACPI: APEI: mark bert_disable as __initdata X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=d38f6bcea88836bfb346a6d567c452065417e2ed;p=users%2Fjedix%2Flinux-maple.git ACPI: APEI: mark bert_disable as __initdata It's only used inside the __init section. Mark it __initdata. Signed-off-by: Miaohe Lin Signed-off-by: Rafael J. Wysocki --- diff --git a/drivers/acpi/apei/bert.c b/drivers/acpi/apei/bert.c index 7514e38d5640e..5427e49e646b2 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