summaryrefslogtreecommitdiffstats
path: root/common/partitions
diff options
context:
space:
mode:
authorAndrey Smirnov <andrew.smirnov@gmail.com>2018-10-26 17:17:48 -0700
committerSascha Hauer <s.hauer@pengutronix.de>2018-10-29 08:45:18 +0100
commit3aac8a4f850993b486c3439dd8b4731a5b34d6bd (patch)
tree7c68113426c84001cca5d0f74eb8c57de71ff794 /common/partitions
parent54801db9f06af6f6390240a6489b77649463c0cb (diff)
downloadbarebox-3aac8a4f850993b486c3439dd8b4731a5b34d6bd.tar.gz
partitions: efi: Constify force_gpt
No one is modifying 'force_gpt', so constify it to reflect that fact. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/partitions')
-rw-r--r--common/partitions/efi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/partitions/efi.c b/common/partitions/efi.c
index 88734f1..3c1077f 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