diff options
author | Simon Glass | 2016-02-29 15:25:42 -0700 |
---|---|---|
committer | Simon Glass | 2016-03-14 15:34:50 -0600 |
commit | db1d9e78e6f0ea51a698f18abe4cebc5ff39b691 (patch) | |
tree | 087b7d1acfd52d416a6a596a8e24f5972be251a6 /disk | |
parent | fb1b7be9538dab7ce69208045cc3b80c6eb57f3b (diff) |
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')
-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 7f98d89115c..2466c3ea96c 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; } |