disk: efi: GUIDs should be const
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 12 Jan 2019 10:25:25 +0000 (11:25 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 18 Jan 2019 14:16:15 +0000 (09:16 -0500)
Make system_guid const.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
disk/part_efi.c

index d6bb53e6b5d89fc48dbb5c7012a728217b3cc215..239455b8161edbbefdeb211d9ff63a17a38453a1 100644 (file)
@@ -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)
 {