diff options
author | Simon Glass <sjg@chromium.org> | 2016-02-29 15:25:42 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-03-14 15:34:50 -0600 |
commit | db1d9e78e6f0ea51a698f18abe4cebc5ff39b691 (patch) | |
tree | 087b7d1acfd52d416a6a596a8e24f5972be251a6 /disk/part.c | |
parent | fb1b7be9538dab7ce69208045cc3b80c6eb57f3b (diff) | |
download | u-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 'disk/part.c')
-rw-r--r-- | disk/part.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/disk/part.c b/disk/part.c index 7f98d89..2466c3e 100644 --- a/disk/part.c +++ b/disk/part.c @@ -101,7 +101,7 @@ static struct blk_desc *get_dev_hwpart(const char *ifname, int dev, int hwpart) return NULL; } -struct blk_desc *get_dev(const char *ifname, int dev) +struct blk_desc *blk_get_dev(const char *ifname, int dev) { return get_dev_hwpart(ifname, dev, 0); } @@ -111,7 +111,7 @@ struct blk_desc *get_dev_hwpart(const char *ifname, int dev, int hwpart) return NULL; } -struct blk_desc *get_dev(const char *ifname, int dev) +struct blk_desc *blk_get_dev(const char *ifname, int dev) { return NULL; } |