mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
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:
@@ -694,7 +694,7 @@ static unsigned dp_part_size(struct blk_desc *desc, int part)
|
||||
*/
|
||||
static void *dp_part_node(void *buf, struct blk_desc *desc, int part)
|
||||
{
|
||||
disk_partition_t info;
|
||||
struct disk_partition info;
|
||||
|
||||
part_get_info(desc, part, &info);
|
||||
|
||||
@@ -1036,7 +1036,7 @@ efi_status_t efi_dp_from_name(const char *dev, const char *devnr,
|
||||
{
|
||||
int is_net;
|
||||
struct blk_desc *desc = NULL;
|
||||
disk_partition_t fs_partition;
|
||||
struct disk_partition fs_partition;
|
||||
int part = 0;
|
||||
char filename[32] = { 0 }; /* dp->str is u16[32] long */
|
||||
char *s;
|
||||
|
Reference in New Issue
Block a user