PCI, of: Move PCI I/O space management to PCI core code
authorTomasz Nowicki <tn@semihalf.com>
Wed, 11 May 2016 22:34:51 +0000 (17:34 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 12 May 2016 12:07:42 +0000 (07:07 -0500)
commitc5076cfe768998e9d395bc8486b29b18b0f99fd9
tree94eaff672e0871147c33abf16edcbf0843078e25
parent1958e7173df14ff50d75ed2fbd24b349d25caf80
PCI, of: Move PCI I/O space management to PCI core code

No functional changes in this patch.

PCI I/O space mapping code does not depend on OF; therefore it can be moved
to PCI core code.  This way we will be able to use it, e.g., in ACPI PCI
code.

Suggested-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Tomasz Nowicki <tn@semihalf.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
CC: Arnd Bergmann <arnd@arndb.de>
CC: Liviu Dudau <Liviu.Dudau@arm.com>
drivers/of/address.c
drivers/pci/pci.c
include/linux/of_address.h
include/linux/pci.h