dm: pci: Add driver model API functions for address mapping
authorSimon Glass <sjg@chromium.org>
Sun, 29 Nov 2015 20:18:03 +0000 (13:18 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 12 Jan 2016 17:19:09 +0000 (10:19 -0700)
commit21d1fe7ec249bd298f40fb17142d4dee27fdbb1a
tree08d4b9bed7e564fd51cfd727875e685375f51f50
parentc032241234f726bed72c2f884044c66e1ffde243
dm: pci: Add driver model API functions for address mapping

At present the PCI address map functions use the old API. Add new functions
for this so that drivers can be converted.

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