From 084bf4c244ce98ab1ee7b590d44471fa5cae25f6 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Mon, 29 Feb 2016 15:26:04 -0700 Subject: 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 --- disk/part_dos.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'disk/part_dos.c') diff --git a/disk/part_dos.c b/disk/part_dos.c index 0ed1374ab7..511917a444 100644 --- a/disk/part_dos.c +++ b/disk/part_dos.c @@ -87,7 +87,7 @@ static int test_block_type(unsigned char *buffer) } -static int test_part_dos(struct blk_desc *dev_desc) +static int part_test_dos(struct blk_desc *dev_desc) { ALLOC_CACHE_ALIGN_BUFFER(unsigned char, buffer, dev_desc->blksz); @@ -285,7 +285,7 @@ static int part_get_info_extended(struct blk_desc *dev_desc, return -1; } -void print_part_dos(struct blk_desc *dev_desc) +void part_print_dos(struct blk_desc *dev_desc) { printf("Part\tStart Sector\tNum Sectors\tUUID\t\tType\n"); print_partition_extended(dev_desc, 0, 0, 1, 0); @@ -301,8 +301,8 @@ U_BOOT_PART_TYPE(dos) = { .name = "DOS", .part_type = PART_TYPE_DOS, .get_info = part_get_info_ptr(part_get_info_dos), - .print = part_print_ptr(print_part_dos), - .test = test_part_dos, + .print = part_print_ptr(part_print_dos), + .test = part_test_dos, }; #endif -- cgit v1.2.1