VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Bart Van Assche <bart.vanassche@sandisk.com> 2017-01-20 13:04:01 -0800 committer: Doug Ledford <dledford@redhat.com> 2017-01-24 12:23:35 -0500 commit: 5299709d0a87342dadc1fc9850484fadeb488bf8 parent: 102c5ce082f557405a0f71ad5a8920f9df50cd9e
Commit Summary:
treewide: Constify most dma_map_ops structures
Diffstat:
1 file changed, 2 insertions, 2 deletions
diff --git a/arch/h8300/include/asm/dma-mapping.h b/arch/h8300/include/asm/dma-mapping.h
index 7ac7fadffed0..f804bca4c13f 100644
--- a/arch/h8300/include/asm/dma-mapping.h
+++ b/arch/h8300/include/asm/dma-mapping.h
@@ -1,9 +1,9 @@
 #ifndef _H8300_DMA_MAPPING_H
 #define _H8300_DMA_MAPPING_H
 
-extern struct dma_map_ops h8300_dma_map_ops;
+extern const struct dma_map_ops h8300_dma_map_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 &h8300_dma_map_ops;
 }