]> git.sur5r.net Git - u-boot/blobdiff - disk/part_mac.c
cmd: gpt: fix the wrong size parse for the last partition
[u-boot] / disk / part_mac.c
index ce57b5739d354f8fcd14c4842b322b96cd8d3725..3952b8d37932cb9d894e475590ed20e097151a75 100644 (file)
@@ -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