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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user