swh:1:snp:173f8deb0c56c557784b4fd217e7608ac6197844
Raw File
Tip revision: c02ed2e75ef4c74e41e421acb4ef1494671585e8 authored by Linus Torvalds on 26 March 2017, 21:15:16 UTC
Linux 4.11-rc4
Tip revision: c02ed2e
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