summaryrefslogtreecommitdiff
path: root/cmd/gpt.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-02-29 15:25:42 -0700
committerSimon Glass <sjg@chromium.org>2016-03-14 15:34:50 -0600
commitdb1d9e78e6f0ea51a698f18abe4cebc5ff39b691 (patch)
tree087b7d1acfd52d416a6a596a8e24f5972be251a6 /cmd/gpt.c
parentfb1b7be9538dab7ce69208045cc3b80c6eb57f3b (diff)
downloadu-boot-imx-db1d9e78e6f0ea51a698f18abe4cebc5ff39b691.zip
u-boot-imx-db1d9e78e6f0ea51a698f18abe4cebc5ff39b691.tar.gz
u-boot-imx-db1d9e78e6f0ea51a698f18abe4cebc5ff39b691.tar.bz2
dm: blk: Rename get_dev() to blk_get_dev()
The current name is too generic. Add a 'blk_' prefix to aid searching and make its purpose clearer. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'cmd/gpt.c')
-rw-r--r--cmd/gpt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/gpt.c b/cmd/gpt.c
index 881367c..8ffaef3 100644
--- a/cmd/gpt.c
+++ b/cmd/gpt.c
@@ -418,7 +418,7 @@ static int do_gpt(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
printf("'%s' is not a number\n", argv[3]);
return CMD_RET_USAGE;
}
- blk_dev_desc = get_dev(argv[2], dev);
+ blk_dev_desc = blk_get_dev(argv[2], dev);
if (!blk_dev_desc) {
printf("%s: %s dev %d NOT available\n",
__func__, argv[2], dev);