diff options
Diffstat (limited to 'arch/openrisc/include/asm/dma-mapping.h')
-rw-r--r-- | arch/openrisc/include/asm/dma-mapping.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/openrisc/include/asm/dma-mapping.h b/arch/openrisc/include/asm/dma-mapping.h index 1f260bccb368..0c0075f17145 100644 --- a/arch/openrisc/include/asm/dma-mapping.h +++ b/arch/openrisc/include/asm/dma-mapping.h | |||
@@ -28,9 +28,9 @@ | |||
28 | 28 | ||
29 | #define DMA_ERROR_CODE (~(dma_addr_t)0x0) | 29 | #define DMA_ERROR_CODE (~(dma_addr_t)0x0) |
30 | 30 | ||
31 | extern struct dma_map_ops or1k_dma_map_ops; | 31 | extern const struct dma_map_ops or1k_dma_map_ops; |
32 | 32 | ||
33 | static inline struct dma_map_ops *get_dma_ops(struct device *dev) | 33 | static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus) |
34 | { | 34 | { |
35 | return &or1k_dma_map_ops; | 35 | return &or1k_dma_map_ops; |
36 | } | 36 | } |