swh:1:snp:173f8deb0c56c557784b4fd217e7608ac6197844
Raw File
Tip revision: 2dcd0af568b0cf583645c8a317dd12e344b1c72a authored by Linus Torvalds on 15 May 2016, 22:43:13 UTC
Linux 4.6
Tip revision: 2dcd0af
dma-mapping.h
#ifndef _M68K_DMA_MAPPING_H
#define _M68K_DMA_MAPPING_H

extern struct dma_map_ops m68k_dma_ops;

static inline struct dma_map_ops *get_dma_ops(struct device *dev)
{
        return &m68k_dma_ops;
}

static inline void dma_cache_sync(struct device *dev, void *vaddr, size_t size,
				  enum dma_data_direction dir)
{
	/* we use coherent allocation, so not much to do here. */
}

#endif  /* _M68K_DMA_MAPPING_H */
back to top