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>
This commit is contained in:
Simon Glass
2016-02-29 15:26:04 -07:00
parent 61ccd886e2
commit 084bf4c244
5 changed files with 27 additions and 27 deletions

View File

@@ -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