summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/powernv/powernv.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/platforms/powernv/powernv.h')
-rw-r--r--arch/powerpc/platforms/powernv/powernv.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/powernv/powernv.h b/arch/powerpc/platforms/powernv/powernv.h
index 35b716008cd..8a9df7f9667 100644
--- a/arch/powerpc/platforms/powernv/powernv.h
+++ b/arch/powerpc/platforms/powernv/powernv.h
@@ -7,4 +7,10 @@ extern void pnv_smp_init(void);
static inline void pnv_smp_init(void) { }
#endif
+#ifdef CONFIG_PCI
+extern void pnv_pci_init(void);
+#else
+static inline void pnv_pci_init(void) { }
+#endif
+
#endif /* _POWERNV_H */