summaryrefslogtreecommitdiff
path: root/drivers/pci/ecam.c
diff options
context:
space:
mode:
authorLorenzo Pieralisi <lorenzo.pieralisi@arm.com>2017-04-19 19:48:55 +0300
committerBjorn Helgaas <bhelgaas@google.com>2017-04-24 21:53:13 +0300
commit490cb6ddb17df5ef5f5eb33c9a34f3033b31c204 (patch)
tree7c3b684679bae3d890199b330bb18b3c744b7497 /drivers/pci/ecam.c
parent6524754eff305760d0b31dac468e78057a56f47e (diff)
downloadlinux-490cb6ddb17df5ef5f5eb33c9a34f3033b31c204.tar.xz
PCI: Implement devm_pci_remap_cfgspace()
The introduction of the pci_remap_cfgspace() interface allows PCI host controller drivers to map PCI config space through a dedicated kernel interface. Current PCI host controller drivers use the devm_ioremap_*() devres interfaces to map PCI configuration space regions so in order to update them to the new pci_remap_cfgspace() mapping interface a new set of devres interfaces should be implemented so that PCI host controller drivers can make use of them. Introduce two new functions in the PCI kernel layer and Devres documentation: - devm_pci_remap_cfgspace() - devm_pci_remap_cfg_resource() so that PCI host controller drivers can make use of them to map PCI configuration space regions. Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Cc: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'drivers/pci/ecam.c')
0 files changed, 0 insertions, 0 deletions