PCI: versatile: Update PCI config space remap function
authorLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Wed, 19 Apr 2017 16:49:10 +0000 (17:49 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 24 Apr 2017 18:53:18 +0000 (13:53 -0500)
commitbc636ee94501aedef744f96c57bb2e29cf21aa39
tree2ecc929a0e813eb7eaab06beab3c6c26c9b4575f
parent89874a1a6e64b6be8e442b1d52a447e2b730ebbd
PCI: versatile: Update PCI config space remap function

PCI configuration space should be mapped with a memory region type that
generates on the CPU host bus non-posted write transations. Update the
driver to use the devm_ioremap_nopost* interface to make sure the correct
memory mappings for PCI configuration space are used.

Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Rob Herring <robh@kernel.org>
drivers/pci/host/pci-versatile.c