diff options
author | Simon Glass <sjg@chromium.org> | 2016-02-29 15:25:48 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-03-14 15:34:50 -0600 |
commit | 3e8bd469504f5d5a8800a2ea46d664dde701105b (patch) | |
tree | 5ed523093dd9bc779a4ca5a762e3177396829979 /cmd/ide.c | |
parent | 96e5b03c8ab749b6547f6a3ceb4d4b9f274211aa (diff) | |
download | u-boot-3e8bd469504f5d5a8800a2ea46d664dde701105b.tar.gz |
dm: part: Rename some partition functions
Rename three partition functions so that they start with part_. This makes
it clear what they relate to.
Signed-off-by: Simon Glass <sjg@chromium.org>
Tested-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'cmd/ide.c')
-rw-r--r-- | cmd/ide.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -137,7 +137,7 @@ int do_ide(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[]) ++ok; if (dev) putc('\n'); - print_part(&ide_dev_desc[dev]); + part_print(&ide_dev_desc[dev]); } } if (!ok) { @@ -171,7 +171,7 @@ int do_ide(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[]) int dev = (int) simple_strtoul(argv[2], NULL, 10); if (ide_dev_desc[dev].part_type != PART_TYPE_UNKNOWN) { - print_part(&ide_dev_desc[dev]); + part_print(&ide_dev_desc[dev]); } else { printf("\nIDE device %d not available\n", dev); @@ -435,7 +435,7 @@ void ide_init(void) if ((ide_dev_desc[i].lba > 0) && (ide_dev_desc[i].blksz > 0)) { /* initialize partition type */ - init_part(&ide_dev_desc[i]); + part_init(&ide_dev_desc[i]); if (curr_device < 0) curr_device = i; } |