summaryrefslogtreecommitdiff
path: root/disk/part_mac.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_mac.c
parent61ccd886e2b3751da40a3ecf0e3cd6c91557e9e3 (diff)
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_mac.c')
-rw-r--r--disk/part_mac.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/disk/part_mac.c b/disk/part_mac.c
index ce57b5739d..3952b8d379 100644
--- a/disk/part_mac.c
+++ b/disk/part_mac.c
@@ -40,7 +40,7 @@ static int part_mac_read_pdb(struct blk_desc *dev_desc, int part,
/*
* Test for a valid MAC partition
*/
-static int test_part_mac(struct blk_desc *dev_desc)
+static int part_test_mac(struct blk_desc *dev_desc)
{
ALLOC_CACHE_ALIGN_BUFFER(mac_driver_desc_t, ddesc, 1);
ALLOC_CACHE_ALIGN_BUFFER(mac_partition_t, mpart, 1);
@@ -63,7 +63,7 @@ static int test_part_mac(struct blk_desc *dev_desc)
return (0);
}
-static void print_part_mac(struct blk_desc *dev_desc)
+static void part_print_mac(struct blk_desc *dev_desc)
{
ulong i, n;
ALLOC_CACHE_ALIGN_BUFFER(mac_driver_desc_t, ddesc, 1);
@@ -240,7 +240,7 @@ U_BOOT_PART_TYPE(mac) = {
.name = "MAC",
.part_type = PART_TYPE_MAC,
.get_info = part_get_info_mac,
- .print = print_part_mac,
- .test = test_part_mac,
+ .print = part_print_mac,
+ .test = part_test_mac,
};
#endif