summaryrefslogtreecommitdiff
path: root/arch/powerpc/platforms/powernv/powernv.h
diff options
context:
space:
mode:
authorDaniel Axtens <dja@axtens.net>2015-04-28 08:12:05 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2015-06-02 06:18:49 +0300
commit92ae03532619dc24fdb7a5ae8ea63785fbd39f86 (patch)
treef6844b97be4268bdd8a8fe8685e66e732d78b114 /arch/powerpc/platforms/powernv/powernv.h
parent1f88d5860e0b8244b28e21b63a521915e5c15313 (diff)
downloadlinux-92ae03532619dc24fdb7a5ae8ea63785fbd39f86.tar.xz
powerpc/powernv: Specialise pci_controller_ops for each controller type
Remove powernv generic PCI controller operations. Replace it with controller ops for each of the two supported PHBs. As an added bonus, make the two new structs const, which will help guard against bugs such as the one introduced in 65ebf4b63 ("powerpc/powernv: Move controller ops from ppc_md to controller_ops") Signed-off-by: Daniel Axtens <dja@axtens.net> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/platforms/powernv/powernv.h')
-rw-r--r--arch/powerpc/platforms/powernv/powernv.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/powernv/powernv.h b/arch/powerpc/platforms/powernv/powernv.h
index f907f0a494da..addd15cdbabc 100644
--- a/arch/powerpc/platforms/powernv/powernv.h
+++ b/arch/powerpc/platforms/powernv/powernv.h
@@ -29,8 +29,6 @@ static inline u64 pnv_pci_dma_get_required_mask(struct pci_dev *pdev)
}
#endif
-extern struct pci_controller_ops pnv_pci_controller_ops;
-
extern u32 pnv_get_supported_cpuidle_states(void);
extern void pnv_lpc_init(void);