diff options
| author | Simon Glass <[email protected]> | 2016-02-29 15:25:42 -0700 |
|---|---|---|
| committer | Simon Glass <[email protected]> | 2016-03-14 15:34:50 -0600 |
| commit | db1d9e78e6f0ea51a698f18abe4cebc5ff39b691 (patch) | |
| tree | 087b7d1acfd52d416a6a596a8e24f5972be251a6 /cmd/read.c | |
| 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 <[email protected]>
Reviewed-by: Bin Meng <[email protected]>
Tested-by: Stephen Warren <[email protected]>
Diffstat (limited to 'cmd/read.c')
| -rw-r--r-- | cmd/read.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/read.c b/cmd/read.c index 6a1e1d9e2dd..12ac1659867 100644 --- a/cmd/read.c +++ b/cmd/read.c @@ -39,7 +39,7 @@ int do_read(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) part = (int)simple_strtoul(++ep, NULL, 16); } - dev_desc = get_dev(argv[1], dev); + dev_desc = blk_get_dev(argv[1], dev); if (dev_desc == NULL) { printf("Block device %s %d not supported\n", argv[1], dev); return 1; |
