Quellcode durchsuchen

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>
Heinrich Schuchardt vor 5 Jahren
Ursprung
Commit
7de24b27d2
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      disk/part_efi.c

+ 1 - 1
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)
 {