dm: pci: Save devfn without bus number in pci_uclass_child_post_bind()
authorBin Meng <bmeng.cn@gmail.com>
Thu, 20 Aug 2015 13:40:26 +0000 (06:40 -0700)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 09:29:46 +0000 (11:29 +0200)
commitbb38e319f917be4521b5b439aad5b268e1ccd371
tree0e7061fdf0480fc5063f70074a2c2aebb9721d1c
parent499b2533ea15d3362f7d85e64281860c99be4182
dm: pci: Save devfn without bus number in pci_uclass_child_post_bind()

In pci_uclass_child_post_bind(), bdf is extracted from fdt_pci_addr.
Mask bus number before save it to pplat->devfn.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
drivers/pci/pci-uclass.c