blk: Make blk_next_free_devnum() public

blk_next_free_devnum() can be helpful in some cases. Make it
a public API.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Bin Meng
2018-10-15 02:21:09 -07:00
committed by Simon Glass
parent c515ee5c51
commit c879eeb7aa
2 changed files with 12 additions and 1 deletions

View File

@@ -517,7 +517,7 @@ int blk_find_max_devnum(enum if_type if_type)
return max_devnum;
}
static int blk_next_free_devnum(enum if_type if_type)
int blk_next_free_devnum(enum if_type if_type)
{
int ret;