blob: 48d652eb1b5f57aa8eeebe9c5b506c407ab9b86e [file] [log] [blame]
Yoshinori Satod2a5f492015-05-11 02:20:06 +09001#ifndef _H8300_DMA_MAPPING_H
2#define _H8300_DMA_MAPPING_H
3
Yoshinori Satod2a5f492015-05-11 02:20:06 +09004extern struct dma_map_ops h8300_dma_map_ops;
5
6static inline struct dma_map_ops *get_dma_ops(struct device *dev)
7{
8 return &h8300_dma_map_ops;
9}
10
11#include <asm-generic/dma-mapping-common.h>
12
Yoshinori Satod2a5f492015-05-11 02:20:06 +090013static inline int dma_set_mask(struct device *dev, u64 mask)
14{
15 return 0;
16}
17
Yoshinori Satod2a5f492015-05-11 02:20:06 +090018#endif