summaryrefslogtreecommitdiff
path: root/cmd/disk.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-05-10 20:39:57 +0300
committerTom Rini <trini@konsulko.com>2020-05-19 00:33:33 +0300
commit0528979fa7ab7853faaf2ecf34b7721dd4c0b383 (patch)
tree2c2de398634b542e2457b2c3f857bd7006779d14 /cmd/disk.c
parent90526e9fbac47af16d70f323feae45d8d1b0f9b7 (diff)
downloadu-boot-0528979fa7ab7853faaf2ecf34b7721dd4c0b383.tar.xz
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 'cmd/disk.c')
-rw-r--r--cmd/disk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/disk.c b/cmd/disk.c
index 15973b7d13..9e008a3889 100644
--- a/cmd/disk.c
+++ b/cmd/disk.c
@@ -16,7 +16,7 @@ int common_diskboot(cmd_tbl_t *cmdtp, const char *intf, int argc,
int part;
ulong addr = CONFIG_SYS_LOAD_ADDR;
ulong cnt;
- disk_partition_t info;
+ struct disk_partition info;
#if defined(CONFIG_LEGACY_IMAGE_FORMAT)
image_header_t *hdr;
#endif