summaryrefslogtreecommitdiffstats
path: root/disk/part_efi.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-02-29 15:26:04 -0700
committerSimon Glass <sjg@chromium.org>2016-03-14 15:34:50 -0600
commit084bf4c244ce98ab1ee7b590d44471fa5cae25f6 (patch)
tree68b31eb5c381cf8dd4b03e4c3efaaa41dd82ffd4 /disk/part_efi.c
parent61ccd886e2b3751da40a3ecf0e3cd6c91557e9e3 (diff)
downloadtalos-obmc-uboot-084bf4c244ce98ab1ee7b590d44471fa5cae25f6.tar.gz
talos-obmc-uboot-084bf4c244ce98ab1ee7b590d44471fa5cae25f6.zip
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_efi.c')
-rw-r--r--disk/part_efi.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/disk/part_efi.c b/disk/part_efi.c
index b20907b377..77bdfcbce5 100644
--- a/disk/part_efi.c
+++ b/disk/part_efi.c
@@ -176,7 +176,7 @@ static void prepare_backup_gpt_header(gpt_header *gpt_h)
* Public Functions (include/part.h)
*/
-void print_part_efi(struct blk_desc *dev_desc)
+void part_print_efi(struct blk_desc *dev_desc)
{
ALLOC_CACHE_ALIGN_BUFFER_PAD(gpt_header, gpt_head, 1, dev_desc->blksz);
gpt_entry *gpt_pte = NULL;
@@ -319,7 +319,7 @@ int part_get_info_efi_by_name(struct blk_desc *dev_desc,
return -2;
}
-static int test_part_efi(struct blk_desc *dev_desc)
+static int part_test_efi(struct blk_desc *dev_desc)
{
ALLOC_CACHE_ALIGN_BUFFER_PAD(legacy_mbr, legacymbr, 1, dev_desc->blksz);
@@ -959,7 +959,7 @@ U_BOOT_PART_TYPE(a_efi) = {
.name = "EFI",
.part_type = PART_TYPE_EFI,
.get_info = part_get_info_ptr(part_get_info_efi),
- .print = part_print_ptr(print_part_efi),
- .test = test_part_efi,
+ .print = part_print_ptr(part_print_efi),
+ .test = part_test_efi,
};
#endif
OpenPOWER on IntegriCloud