Skip to content

Commit d38f6bc

Browse files
MiaoheLinrafaeljw
authored andcommitted
ACPI: APEI: mark bert_disable as __initdata
It's only used inside the __init section. Mark it __initdata. Signed-off-by: Miaohe Lin <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent 4348270 commit d38f6bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/acpi/apei/bert.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
#define ACPI_BERT_PRINT_MAX_RECORDS 5
3535
#define ACPI_BERT_PRINT_MAX_LEN 1024
3636

37-
static int bert_disable;
37+
static int bert_disable __initdata;
3838

3939
/*
4040
* Print "all" the error records in the BERT table, but avoid huge spam to

0 commit comments

Comments
 (0)