summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/powernv/pci.c
diff options
context:
space:
mode:
authorGavin Shan <gwshan@linux.vnet.ibm.com>2016-05-03 07:41:24 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2016-05-11 13:54:17 +0200
commit92b8f137b3620b0a07c71b1bd191f9a22d0cf0ab (patch)
tree143d49413cb1d2efc94e309fc0664378f7b415be /arch/powerpc/platforms/powernv/pci.c
parentpowerpc/powernv: Reorder fields in struct pnv_phb (diff)
downloadlinux-92b8f137b3620b0a07c71b1bd191f9a22d0cf0ab.tar.xz
linux-92b8f137b3620b0a07c71b1bd191f9a22d0cf0ab.zip
powerpc/powernv: Rename PE# fields in struct pnv_phb
This renames the fields related to PE number in "struct pnv_phb" for better reflecting of their usages as Alexey suggested. No logical changes introduced. Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com> Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/platforms/powernv/pci.c')
-rw-r--r--arch/powerpc/platforms/powernv/pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/powernv/pci.c b/arch/powerpc/platforms/powernv/pci.c
index 0db20ae52e41..88255eb87702 100644
--- a/arch/powerpc/platforms/powernv/pci.c
+++ b/arch/powerpc/platforms/powernv/pci.c
@@ -377,7 +377,7 @@ static void pnv_pci_config_check_eeh(struct pci_dn *pdn)
*/
pe_no = pdn->pe_number;
if (pe_no == IODA_INVALID_PE) {
- pe_no = phb->ioda.reserved_pe;
+ pe_no = phb->ioda.reserved_pe_idx;
}
/*