summaryrefslogtreecommitdiffstats
path: root/include/asm-ppc64/iommu.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-ppc64/iommu.h')
-rw-r--r--include/asm-ppc64/iommu.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-ppc64/iommu.h b/include/asm-ppc64/iommu.h
index d9b53374d23a..729de5cc21d9 100644
--- a/include/asm-ppc64/iommu.h
+++ b/include/asm-ppc64/iommu.h
@@ -137,8 +137,12 @@ extern void iommu_init_early_pSeries(void);
extern void iommu_init_early_iSeries(void);
extern void iommu_init_early_u3(void);
+#ifdef CONFIG_PCI
extern void pci_iommu_init(void);
extern void pci_direct_iommu_init(void);
+#else
+static inline void pci_iommu_init(void) { }
+#endif
extern void alloc_u3_dart_table(void);