summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/powernv/pci.h
diff options
context:
space:
mode:
authorGavin Shan <gwshan@linux.vnet.ibm.com>2016-05-03 15:41:24 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2016-05-11 21:54:17 +1000
commit92b8f137b3620b0a07c71b1bd191f9a22d0cf0ab (patch)
tree143d49413cb1d2efc94e309fc0664378f7b415be /arch/powerpc/platforms/powernv/pci.h
parent13ce7598b6c0d9b3734fb070242de21b05aedd0d (diff)
downloadlinux-92b8f137b3620b0a07c71b1bd191f9a22d0cf0ab.tar.gz
linux-92b8f137b3620b0a07c71b1bd191f9a22d0cf0ab.tar.bz2
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.h')
-rw-r--r--arch/powerpc/platforms/powernv/pci.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/powernv/pci.h b/arch/powerpc/platforms/powernv/pci.h
index f2a145285992..784882a1db07 100644
--- a/arch/powerpc/platforms/powernv/pci.h
+++ b/arch/powerpc/platforms/powernv/pci.h
@@ -120,8 +120,8 @@ struct pnv_phb {
struct {
/* Global bridge info */
- unsigned int total_pe;
- unsigned int reserved_pe;
+ unsigned int total_pe_num;
+ unsigned int reserved_pe_idx;
/* 32-bit MMIO window */
unsigned int m32_size;