iommu: of: enforce const-ness of struct iommu_ops
[linux-2.6-block.git] / arch / arm64 / include / asm / dma-mapping.h
index ba437f090a74702dd1e697db3238f6619023f83c..7dbea6c070ec400e5cd4e7bcd051f0fb8c4c84b0 100644 (file)
@@ -48,7 +48,7 @@ static inline struct dma_map_ops *get_dma_ops(struct device *dev)
 }
 
 void arch_setup_dma_ops(struct device *dev, u64 dma_base, u64 size,
-                       struct iommu_ops *iommu, bool coherent);
+                       const struct iommu_ops *iommu, bool coherent);
 #define arch_setup_dma_ops     arch_setup_dma_ops
 
 #ifdef CONFIG_IOMMU_DMA