diff options
Diffstat (limited to 'include/part.h')
-rw-r--r-- | include/part.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/part.h b/include/part.h index 09790059d0..9d0e20d041 100644 --- a/include/part.h +++ b/include/part.h @@ -53,7 +53,7 @@ typedef struct disk_partition { uchar name[32]; /* partition name */ uchar type[32]; /* string type description */ int bootable; /* Active/Bootable flag is set */ -#ifdef CONFIG_PARTITION_UUIDS +#if CONFIG_IS_ENABLED(PARTITION_UUIDS) char uuid[37]; /* filesystem UUID as string, if exists */ #endif #ifdef CONFIG_PARTITION_TYPE_GUID @@ -255,7 +255,7 @@ struct part_driver { #define U_BOOT_PART_TYPE(__name) \ ll_entry_declare(struct part_driver, __name, part_driver) -#ifdef CONFIG_EFI_PARTITION +#if CONFIG_IS_ENABLED(EFI_PARTITION) #include <part_efi.h> /* disk/part_efi.c */ /** @@ -365,7 +365,7 @@ int gpt_verify_partitions(struct blk_desc *dev_desc, gpt_header *gpt_head, gpt_entry **gpt_pte); #endif -#ifdef CONFIG_DOS_PARTITION +#if CONFIG_IS_ENABLED(DOS_PARTITION) /** * is_valid_dos_buf() - Ensure that a DOS MBR image is valid * |