swh:1:snp:173f8deb0c56c557784b4fd217e7608ac6197844
Raw File
Tip revision: c1ae3cfa0e89fa1a7ecc4c99031f5e9ae99d9201 authored by Linus Torvalds on 05 March 2017, 20:59:56 UTC
Linux 4.11-rc1
Tip revision: c1ae3cf
dma-mapping.h
#ifndef _M68K_DMA_MAPPING_H
#define _M68K_DMA_MAPPING_H

extern const struct dma_map_ops m68k_dma_ops;

static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus)
{
        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