PCI: altera: Rework config accessors for use without a struct pci_bus
authorLey Foon Tan <lftan@altera.com>
Fri, 26 Aug 2016 01:47:24 +0000 (09:47 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 26 Aug 2016 19:18:59 +0000 (14:18 -0500)
commit31fc0ad47e2e0b8417616aa0f1ddcc67edf1e109
tree1aad6f038fbd2cd02bf4a6fd5700a9958d386ec1
parent411dc32d8810e0a204c799ce5c97cb56990de1cb
PCI: altera: Rework config accessors for use without a struct pci_bus

Rework configs accessors so a future patch can use them in _probe() with
struct altera_pcie instead of struct pci_bus.

Signed-off-by: Ley Foon Tan <lftan@altera.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/host/pcie-altera.c