dm: pci: Correct bus number when scanning sub-buses
authorSimon Glass <sjg@chromium.org>
Sun, 7 Jun 2015 14:50:41 +0000 (08:50 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 15 Jul 2015 00:03:18 +0000 (18:03 -0600)
commit5afeb4bb456de129a88f38fae1573564cd53fc41
treed7561dccc9270cb5e100d6f0da6d89561bf8263f
parentaec241dfb45e7763716c1cbc98942cb01a3a77fd
dm: pci: Correct bus number when scanning sub-buses

The sub-bus passed to pciauto_prescan_setup_bridge() is incorrect. Fix it
so that sub-buses are numbered correctly.

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