diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/part.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/part.h b/include/part.h index 1196220817e..9975fad9712 100644 --- a/include/part.h +++ b/include/part.h @@ -87,7 +87,7 @@ struct disk_part { }; /* Misc _get_dev functions */ -#ifdef CONFIG_PARTITIONS +#if CONFIG_IS_ENABLED(PARTITIONS) /** * blk_get_dev() - get a pointer to a block device given its type and number * @@ -497,7 +497,7 @@ int layout_mbr_partitions(struct disk_partition *p, int count, #endif -#ifdef CONFIG_PARTITIONS +#if CONFIG_IS_ENABLED(PARTITIONS) /** * part_driver_get_count() - get partition driver count * |
