dm: pci: Move pci_bus_to_hose() to compatibility
authorSimon Glass <sjg@chromium.org>
Tue, 19 Jan 2016 03:19:14 +0000 (20:19 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Sun, 24 Jan 2016 04:07:17 +0000 (12:07 +0800)
commita6eb93b3212d37fe623ed3b4351eedb971c12e3c
tree7c2cfc0782db5c248d00f62c71415b005de14e85
parent12f229ea8f6c8e20f8fd07906eafc853c4c354a9
dm: pci: Move pci_bus_to_hose() to compatibility

This function should not be used by driver-model code, so move it to the
compatibility portion.

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