]> git.dujemihanovic.xyz Git - u-boot.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)
committerSimon Glass <sjg@chromium.org>
Thu, 4 Jun 2015 08:39:38 +0000 (02:39 -0600)
commit238fe16c40f640e5b78828b21990a0565f408813
tree9fee5771841712f1eced33488f5e00c810de3dd6
parentd8abb46b37fadff0349adb376df6d3ecd09ee7d1
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