summaryrefslogtreecommitdiff
path: root/disk/part_amiga.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-02-29 15:25:48 -0700
committerSimon Glass <sjg@chromium.org>2016-03-14 15:34:50 -0600
commit3e8bd469504f5d5a8800a2ea46d664dde701105b (patch)
tree5ed523093dd9bc779a4ca5a762e3177396829979 /disk/part_amiga.c
parent96e5b03c8ab749b6547f6a3ceb4d4b9f274211aa (diff)
downloadu-boot-3e8bd469504f5d5a8800a2ea46d664dde701105b.tar.gz
dm: part: Rename some partition functions
Rename three partition functions so that they start with part_. This makes it clear what they relate to. Signed-off-by: Simon Glass <sjg@chromium.org> Tested-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'disk/part_amiga.c')
-rw-r--r--disk/part_amiga.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/disk/part_amiga.c b/disk/part_amiga.c
index 0f569f0c9b..d323b4bc1e 100644
--- a/disk/part_amiga.c
+++ b/disk/part_amiga.c
@@ -291,7 +291,7 @@ static struct partition_block *find_partition(struct blk_desc *dev_desc,
/*
* Get info about a partition
*/
-static int get_partition_info_amiga(struct blk_desc *dev_desc, int part,
+static int part_get_info_amiga(struct blk_desc *dev_desc, int part,
disk_partition_t *info)
{
struct partition_block *p = find_partition(dev_desc, part-1);
@@ -382,7 +382,7 @@ static void print_part_amiga(struct blk_desc *dev_desc)
U_BOOT_PART_TYPE(amiga) = {
.name = "AMIGA",
.part_type = PART_TYPE_AMIGA,
- .get_info = get_partition_info_amiga,
+ .get_info = part_get_info_amiga,
.print = print_part_amiga,
.test = test_part_amiga,
};