|
@@ -208,16 +208,9 @@ struct dmar_atsr_unit {
|
|
|
u8 include_all:1; /* include all ports */
|
|
|
};
|
|
|
|
|
|
-/* Intel DMAR initialization functions */
|
|
|
extern int intel_iommu_init(void);
|
|
|
-#else
|
|
|
-static inline int intel_iommu_init(void)
|
|
|
-{
|
|
|
-#ifdef CONFIG_INTR_REMAP
|
|
|
- return dmar_dev_scope_init();
|
|
|
-#else
|
|
|
- return -ENODEV;
|
|
|
-#endif
|
|
|
-}
|
|
|
-#endif /* !CONFIG_DMAR */
|
|
|
+#else /* !CONFIG_DMAR: */
|
|
|
+static inline int intel_iommu_init(void) { return -ENODEV; }
|
|
|
+#endif /* CONFIG_DMAR */
|
|
|
+
|
|
|
#endif /* __DMAR_H__ */
|