]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/powernv: Use pci_dn, not device_node, in PCI config accessor
authorGavin Shan <gwshan@linux.vnet.ibm.com>
Tue, 17 Mar 2015 05:15:03 +0000 (16:15 +1100)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 24 Mar 2015 02:15:50 +0000 (13:15 +1100)
commit126d048871ca6e4eb00fb51889ab3f4c360b7f86
treea72f5e6bef1aba0cc720def5bda613770587648f
parentd60b7ad61872dcd6097701b8a6f2ee188b51a8bd
powerpc/powernv: Use pci_dn, not device_node, in PCI config accessor

The PCI config accessors previously relied on device_node.  Unfortunately,
VFs don't have a corresponding device_node, so change the accessors to use
pci_dn instead.

[bhelgaas: changelog]
Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/powernv/eeh-powernv.c
arch/powerpc/platforms/powernv/pci.c
arch/powerpc/platforms/powernv/pci.h