summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-11-26 19:51:22 -0700
committerSimon Glass <sjg@chromium.org>2015-12-01 06:26:37 -0700
commit76a8b6a58af8f9477d46c0bf32ce02e6d75fff86 (patch)
treedd10d5d8577a24a5898deca0c0a9d9c97fc0a007
parent54fe7b1c12a4e0005337b2dccc090c8917d8315d (diff)
downloadu-boot-imx-76a8b6a58af8f9477d46c0bf32ce02e6d75fff86.zip
u-boot-imx-76a8b6a58af8f9477d46c0bf32ce02e6d75fff86.tar.gz
u-boot-imx-76a8b6a58af8f9477d46c0bf32ce02e6d75fff86.tar.bz2
dm: pci: Rename pci_auto.c to pci_auto_old.c
This file should not be used with driver model as it has lots of legacy/ compatibility functions. Rename it to make this clear. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
-rw-r--r--drivers/pci/Makefile2
-rw-r--r--drivers/pci/pci_auto_old.c (renamed from drivers/pci/pci_auto.c)0
2 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/Makefile b/drivers/pci/Makefile
index bcf8127..dee844f 100644
--- a/drivers/pci/Makefile
+++ b/drivers/pci/Makefile
@@ -13,7 +13,7 @@ obj-$(CONFIG_X86) += pci_x86.o
else
obj-$(CONFIG_PCI) += pci.o
endif
-obj-$(CONFIG_PCI) += pci_common.o pci_auto.o pci_rom.o
+obj-$(CONFIG_PCI) += pci_common.o pci_auto_old.o pci_rom.o
obj-$(CONFIG_FSL_PCI_INIT) += fsl_pci_init.o
obj-$(CONFIG_PCI_INDIRECT_BRIDGE) += pci_indirect.o
diff --git a/drivers/pci/pci_auto.c b/drivers/pci/pci_auto_old.c
index 0412bf3..0412bf3 100644
--- a/drivers/pci/pci_auto.c
+++ b/drivers/pci/pci_auto_old.c