]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd2021ea8f0748567d618ba0efef11f90a0ab3121
tree1aad6f038fbd2cd02bf4a6fd5700a9958d386ec1
parentbae446574f8a29dcb2e285f664132f1993b4ee95
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