dm: pci: Move common auto-config functions to a common file
authorSimon Glass <sjg@chromium.org>
Fri, 27 Nov 2015 02:51:23 +0000 (19:51 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 1 Dec 2015 13:26:37 +0000 (06:26 -0700)
commit011e9482959afb40319b3e965da9c3e356c6d679
tree502037244339307d6d3dbac8d81b8f72b831841c
parent76a8b6a58af8f9477d46c0bf32ce02e6d75fff86
dm: pci: Move common auto-config functions to a common file

Some functions will be used by driver model and legacy PCI code. To avoid
duplication, put these in a separate, shared file.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
drivers/pci/Makefile
drivers/pci/pci_auto_common.c [new file with mode: 0644]
drivers/pci/pci_auto_old.c