summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include
diff options
context:
space:
mode:
authorDaniel Axtens2015-03-31 07:00:39 +0200
committerMichael Ellerman2015-04-11 12:49:09 +0200
commitbdc728a849a7047e55014c6f968aa300cc9f57fa (patch)
treeaf858b2bce2bf2a9360c4a23dc78d47804ad2b05 /arch/powerpc/include
parentpowerpc: Drop return value of smp_ops->probe() (diff)
downloadkernel-qcow2-linux-bdc728a849a7047e55014c6f968aa300cc9f57fa.tar.gz
kernel-qcow2-linux-bdc728a849a7047e55014c6f968aa300cc9f57fa.tar.xz
kernel-qcow2-linux-bdc728a849a7047e55014c6f968aa300cc9f57fa.zip
powerpc: move find_and_init_phbs() to pSeries specific code
Previously, find_and_init_phbs() was used in both PowerNV and pSeries setup. However, since RTAS support has been dropped from PowerNV, we can move it into a platform-specific file. Signed-off-by: Daniel Axtens <dja@axtens.net> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/include')
-rw-r--r--arch/powerpc/include/asm/ppc-pci.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/powerpc/include/asm/ppc-pci.h b/arch/powerpc/include/asm/ppc-pci.h
index ade75238ceb5..4122a86d6858 100644
--- a/arch/powerpc/include/asm/ppc-pci.h
+++ b/arch/powerpc/include/asm/ppc-pci.h
@@ -23,8 +23,6 @@ extern void pci_setup_phb_io_dynamic(struct pci_controller *hose, int primary);
extern struct list_head hose_list;
-extern void find_and_init_phbs(void);
-
extern struct pci_dev *isa_bridge_pcidev; /* may be NULL if no ISA bus */
/** Bus Unit ID macros; get low and hi 32-bits of the 64-bit BUID */
@@ -81,7 +79,6 @@ static inline const char *eeh_driver_name(struct pci_dev *pdev)
#endif /* CONFIG_EEH */
#else /* CONFIG_PCI */
-static inline void find_and_init_phbs(void) { }
static inline void init_pci_config_tokens(void) { }
#endif /* !CONFIG_PCI */