PCI: Export PCI device config accessors
authorKeith Busch <keith.busch@intel.com>
Tue, 7 Feb 2017 19:32:33 +0000 (14:32 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 30 Mar 2017 03:48:52 +0000 (22:48 -0500)
commitd3881e5015421a578bc328136471fcf1d02ac389
treea17b8faba519735fee615aa7f0d39f8dbb2c3651
parentc1ae3cfa0e89fa1a7ecc4c99031f5e9ae99d9201
PCI: Export PCI device config accessors

Replace the inline PCI device config read and write accessors with exported
functions.  This is preparing for these functions to make use of private
data.

Tested-by: Krishna Dhulipala <krishnad@fb.com>
Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Wei Zhang <wzhang@fb.com>
drivers/pci/access.c
include/linux/pci.h