diff options
author | Simon Glass <sjg@chromium.org> | 2020-05-10 11:39:57 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-05-18 17:33:33 -0400 |
commit | 0528979fa7ab7853faaf2ecf34b7721dd4c0b383 (patch) | |
tree | 2c2de398634b542e2457b2c3f857bd7006779d14 /disk/part_iso.c | |
parent | 90526e9fbac47af16d70f323feae45d8d1b0f9b7 (diff) | |
download | u-boot-0528979fa7ab7853faaf2ecf34b7721dd4c0b383.zip u-boot-0528979fa7ab7853faaf2ecf34b7721dd4c0b383.tar.gz u-boot-0528979fa7ab7853faaf2ecf34b7721dd4c0b383.tar.bz2 |
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>
Diffstat (limited to 'disk/part_iso.c')
-rw-r--r-- | disk/part_iso.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/disk/part_iso.c b/disk/part_iso.c index 4f14c9a..2ccb786 100644 --- a/disk/part_iso.c +++ b/disk/part_iso.c @@ -47,7 +47,7 @@ unsigned long iso_dread(struct blk_desc *block_dev, lbaint_t start, /* only boot records will be listed as valid partitions */ int part_get_info_iso_verb(struct blk_desc *dev_desc, int part_num, - disk_partition_t *info, int verb) + struct disk_partition *info, int verb) { int i,offset,entry_num; unsigned short *chksumbuf; @@ -200,14 +200,14 @@ found: } static int part_get_info_iso(struct blk_desc *dev_desc, int part_num, - disk_partition_t *info) + struct disk_partition *info) { return part_get_info_iso_verb(dev_desc, part_num, info, 0); } static void part_print_iso(struct blk_desc *dev_desc) { - disk_partition_t info; + struct disk_partition info; int i; if (part_get_info_iso_verb(dev_desc, 1, &info, 0) == -1) { @@ -226,7 +226,7 @@ static void part_print_iso(struct blk_desc *dev_desc) static int part_test_iso(struct blk_desc *dev_desc) { - disk_partition_t info; + struct disk_partition info; return part_get_info_iso_verb(dev_desc, 1, &info, 0); } |