]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: blk: Add a function to find the next block device number
authorSimon Glass <sjg@chromium.org>
Mon, 24 Apr 2017 02:02:06 +0000 (20:02 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 1 Jun 2017 13:03:05 +0000 (07:03 -0600)
commite8abbb531f506dc0cac973b86fb5fa01f0bf88c4
treef5f7afe02aa27b986da021ab252bf97e69ec2b74
parent6139281a6473334351c8776643478c0b0e208342
dm: blk: Add a function to find the next block device number

At present this code is inline. Move it into a function to allow it to
be used elsewhere.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/block/blk-uclass.c