]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
pci: Move pci_hose_phys_to_bus() to pci_common.c
authorBin Meng <bmeng.cn@gmail.com>
Thu, 7 May 2015 13:34:07 +0000 (21:34 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:48:14 +0000 (22:48 +0200)
commit5f70d54d01f15c5c9b8e0f0840b53e934e07ab87
tree6cb6ec7f428869043dab2c64971490dac6ace8ae
parent2ef2bbf67dee5de5c4dcd7c34bb7f0c9623692d2
pci: Move pci_hose_phys_to_bus() to pci_common.c

pci_hose_phys_to_bus() is needed by several drivers. Move it to
pci_common.c to avoid a broken build when CONFIG_DM_PCI is on.

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