aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm
diff options
context:
space:
mode:
authorDaniel Axtens <dja@axtens.net>2015-03-31 01:00:39 -0400
committerMichael Ellerman <mpe@ellerman.id.au>2015-04-11 06:49:09 -0400
commitbdc728a849a7047e55014c6f968aa300cc9f57fa (patch)
treeaf858b2bce2bf2a9360c4a23dc78d47804ad2b05 /arch/powerpc/include/asm
parenta7f4ee1fe93aa9ae191971be9324edb8f9fbcb4a (diff)
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/asm')
-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);
23 23
24extern struct list_head hose_list; 24extern struct list_head hose_list;
25 25
26extern void find_and_init_phbs(void);
27
28extern struct pci_dev *isa_bridge_pcidev; /* may be NULL if no ISA bus */ 26extern struct pci_dev *isa_bridge_pcidev; /* may be NULL if no ISA bus */
29 27
30/** Bus Unit ID macros; get low and hi 32-bits of the 64-bit BUID */ 28/** 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)
81#endif /* CONFIG_EEH */ 79#endif /* CONFIG_EEH */
82 80
83#else /* CONFIG_PCI */ 81#else /* CONFIG_PCI */
84static inline void find_and_init_phbs(void) { }
85static inline void init_pci_config_tokens(void) { } 82static inline void init_pci_config_tokens(void) { }
86#endif /* !CONFIG_PCI */ 83#endif /* !CONFIG_PCI */
87 84