summaryrefslogtreecommitdiffstats
path: root/arch/arc/include/asm/dma-mapping.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arc/include/asm/dma-mapping.h')
-rw-r--r--arch/arc/include/asm/dma-mapping.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arc/include/asm/dma-mapping.h b/arch/arc/include/asm/dma-mapping.h
index 266f11c9bd59..fdff3aa60052 100644
--- a/arch/arc/include/asm/dma-mapping.h
+++ b/arch/arc/include/asm/dma-mapping.h
@@ -18,9 +18,9 @@
#include <plat/dma.h>
#endif
-extern struct dma_map_ops arc_dma_ops;
+extern const struct dma_map_ops arc_dma_ops;
-static inline struct dma_map_ops *get_dma_ops(struct device *dev)
+static inline const struct dma_map_ops *get_dma_ops(struct device *dev)
{
return &arc_dma_ops;
}