PCI: Add pci_unmap_iospace() to unmap I/O resources
authorSinan Kaya <okaya@codeaurora.org>
Fri, 10 Jun 2016 19:55:11 +0000 (21:55 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 10 Jun 2016 20:42:23 +0000 (15:42 -0500)
commit4d3f13845957a87729a324cce8509fad8826ef52
treeead7141034421a052ffe6d99bc7f205798cecbbe
parent5c3d14f76fccd14f0882fe2a11e19534a11a1674
PCI: Add pci_unmap_iospace() to unmap I/O resources

Add pci_unmap_iospace() to undo what pci_remap_iospace() did.

This is needed to support hotplug removal of host bridges that use
pci_remap_iospace().

[bhelgaas: changelog]
Signed-off-by: Sinan Kaya <okaya@codeaurora.org>
Signed-off-by: Tomasz Nowicki <tn@semihalf.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
drivers/pci/pci.c
include/linux/pci.h