]> git.ipfire.org Git - thirdparty/u-boot.git/blobdiff - drivers/dfu/dfu_mmc.c
part: Drop disk_partition_t typedef
[thirdparty/u-boot.git] / drivers / dfu / dfu_mmc.c
index 0d495a785bc3200e5b5ad4300761abe18a16dc57..cddca0c45fe3f327e3d06543c9d208c6cd53a645 100644 (file)
@@ -369,7 +369,7 @@ int dfu_fill_entity_mmc(struct dfu_entity *dfu, char *devstr, char *s)
                                        simple_strtoul(s, NULL, 0);
 
        } else if (!strcmp(entity_type, "part")) {
-               disk_partition_t partinfo;
+               struct disk_partition partinfo;
                struct blk_desc *blk_dev = mmc_get_blk_desc(mmc);
                int mmcdev = second_arg;
                int mmcpart = third_arg;