aboutsummaryrefslogtreecommitdiff
path: root/disk
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2019-01-12 11:25:25 +0100
committerTom Rini <trini@konsulko.com>2019-01-18 09:16:15 -0500
commit7de24b27d2833b1dbc017289b4b262e96b42837a (patch)
tree2ddc6c5d2cc81f260402dc87c8a8f80f02fdba00 /disk
parent8d24a4776a59c96e83a95c7cc5b3f3fa294c2c70 (diff)
downloadu-boot-7de24b27d2833b1dbc017289b4b262e96b42837a.zip
u-boot-7de24b27d2833b1dbc017289b4b262e96b42837a.tar.gz
u-boot-7de24b27d2833b1dbc017289b4b262e96b42837a.tar.bz2
disk: efi: GUIDs should be const
Make system_guid const. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'disk')
-rw-r--r--disk/part_efi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/disk/part_efi.c b/disk/part_efi.c
index d6bb53e..239455b 100644
--- a/disk/part_efi.c
+++ b/disk/part_efi.c
@@ -66,7 +66,7 @@ static char *print_efiname(gpt_entry *pte)
return name;
}
-static efi_guid_t system_guid = PARTITION_SYSTEM_GUID;
+static const efi_guid_t system_guid = PARTITION_SYSTEM_GUID;
static inline int is_bootable(gpt_entry *p)
{