dm: pci: Move common PCI functions into their own file
authorSimon Glass <sjg@chromium.org>
Thu, 5 Mar 2015 19:25:24 +0000 (12:25 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 17 Apr 2015 01:27:42 +0000 (19:27 -0600)
commitaab6724c90c39e1f599d4ee6354c9f2cf553dc61
treecc3a3e0c5df6dcfc97a0fb0b80d11ee75612a5ed
parentfa67f90fc32adaa0c8001e3ae49e81c91d0c9d92
dm: pci: Move common PCI functions into their own file

Driver model will share many functions with the existing PCI implementation.
Move these into their own file to avoid duplication and confusion.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/pci/Makefile
drivers/pci/pci.c
drivers/pci/pci_common.c [new file with mode: 0644]
include/pci.h