diff options
author | Simon Glass <sjg@chromium.org> | 2016-02-29 15:26:04 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-03-14 15:34:50 -0600 |
commit | 084bf4c244ce98ab1ee7b590d44471fa5cae25f6 (patch) | |
tree | 68b31eb5c381cf8dd4b03e4c3efaaa41dd82ffd4 /disk/part_iso.c | |
parent | 61ccd886e2b3751da40a3ecf0e3cd6c91557e9e3 (diff) | |
download | u-boot-084bf4c244ce98ab1ee7b590d44471fa5cae25f6.tar.gz |
part: Rename test_part_xx() and print_part_xx()
Rename these functions so that part_ is at the start. This more clearly
identifies these functions as partition functions.
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 76eab3915f..b83983badf 100644 --- a/disk/part_iso.c +++ b/disk/part_iso.c @@ -223,7 +223,7 @@ static int part_get_info_iso(struct blk_desc *dev_desc, int part_num, return part_get_info_iso_verb(dev_desc, part_num, info, 1); } -static void print_part_iso(struct blk_desc *dev_desc) +static void part_print_iso(struct blk_desc *dev_desc) { disk_partition_t info; int i; @@ -242,7 +242,7 @@ static void print_part_iso(struct blk_desc *dev_desc) } while (part_get_info_iso_verb(dev_desc, i, &info, 0) != -1); } -static int test_part_iso(struct blk_desc *dev_desc) +static int part_test_iso(struct blk_desc *dev_desc) { disk_partition_t info; @@ -253,7 +253,7 @@ U_BOOT_PART_TYPE(iso) = { .name = "ISO", .part_type = PART_TYPE_ISO, .get_info = part_get_info_iso, - .print = print_part_iso, - .test = test_part_iso, + .print = part_print_iso, + .test = part_test_iso, }; #endif |