From 3aac8a4f850993b486c3439dd8b4731a5b34d6bd Mon Sep 17 00:00:00 2001 From: Andrey Smirnov Date: Fri, 26 Oct 2018 17:17:48 -0700 Subject: partitions: efi: Constify force_gpt No one is modifying 'force_gpt', so constify it to reflect that fact. Signed-off-by: Andrey Smirnov Signed-off-by: Sascha Hauer --- common/partitions/efi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/partitions/efi.c') diff --git a/common/partitions/efi.c b/common/partitions/efi.c index 88734f166b..3c1077fd0c 100644 --- a/common/partitions/efi.c +++ b/common/partitions/efi.c @@ -23,7 +23,7 @@ #include "efi.h" #include "parser.h" -static int force_gpt = IS_ENABLED(CONFIG_PARTITION_DISK_EFI_GPT_NO_FORCE); +static const int force_gpt = IS_ENABLED(CONFIG_PARTITION_DISK_EFI_GPT_NO_FORCE); /** * efi_crc32() - EFI version of crc32 function -- cgit v1.2.3