part: Drop disk_partition_t typedef

We should not be using typedefs and these make it harder to use
forward declarations (to reduce header file inclusions). Drop the typedef.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2020-05-10 11:39:57 -06:00
committed by Tom Rini
parent 90526e9fba
commit 0528979fa7
56 changed files with 135 additions and 127 deletions

View File

@@ -727,7 +727,7 @@ static int init_device(struct stm32prog_data *data,
pr_debug("\n");
continue;
}
disk_partition_t partinfo;
struct disk_partition partinfo;
ret = part_get_info(block_dev, part->part_id,
&partinfo);