]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: blk: Fix allocation of block-device numbering
authorSimon Glass <sjg@chromium.org>
Sun, 1 May 2016 19:52:22 +0000 (13:52 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 17 May 2016 15:54:43 +0000 (09:54 -0600)
commit72a85c0d2dfe965c831670f06d3803aaad7bb5b1
tree1479b6bd5647ad2e5fa7f76a180ea8afb78d9122
parentcd995a8aa0127128132bb50f485c53bfb9593312
dm: blk: Fix allocation of block-device numbering

Due to code ordering the block devices are not numbered sequentially. Fix
this.

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