Skip to content

Commit 0b11c3d

Browse files
sjg20trini
authored andcommitted
Correct SPL use of PARTITION_TYPE_GUID
This converts 1 usage of this option to the non-SPL form, since there is no SPL_PARTITION_TYPE_GUID defined in Kconfig Signed-off-by: Simon Glass <[email protected]>
1 parent bc2dba9 commit 0b11c3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

disk/part_efi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ void part_print_efi(struct blk_desc *dev_desc)
242242
print_efiname(&gpt_pte[i]));
243243
printf("\tattrs:\t0x%016llx\n", gpt_pte[i].attributes.raw);
244244
uuid = (unsigned char *)gpt_pte[i].partition_type_guid.b;
245-
if (CONFIG_IS_ENABLED(PARTITION_TYPE_GUID))
245+
if (IS_ENABLED(CONFIG_PARTITION_TYPE_GUID))
246246
printf("\ttype:\t%pUl\n\t\t(%pUs)\n", uuid, uuid);
247247
else
248248
printf("\ttype:\t%pUl\n", uuid);

0 commit comments

Comments
 (0)