diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2018-10-15 02:21:09 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2018-11-14 09:16:27 -0800 |
commit | c879eeb7aa95d753d4d9e39f43004943ed9d93b7 (patch) | |
tree | 585f6c8f0d60b0cacd31293686b4e22496dce24a /drivers/block/blk-uclass.c | |
parent | c515ee5c51618883df64ab7326fbee8911b99a97 (diff) |
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>
Diffstat (limited to 'drivers/block/blk-uclass.c')
-rw-r--r-- | drivers/block/blk-uclass.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/blk-uclass.c b/drivers/block/blk-uclass.c index 3f00ff8ede..76ee3db80c 100644 --- a/drivers/block/blk-uclass.c +++ b/drivers/block/blk-uclass.c @@ -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; |