summaryrefslogtreecommitdiffstats
path: root/arch/avr32/include/asm/dma-mapping.h
blob: b2b43c0e0774b55eecc971271bb43e42c6da2bb0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef __ASM_AVR32_DMA_MAPPING_H
#define __ASM_AVR32_DMA_MAPPING_H

extern void dma_cache_sync(struct device *dev, void *vaddr, size_t size,
	int direction);

extern const struct dma_map_ops avr32_dma_ops;

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

#endif /* __ASM_AVR32_DMA_MAPPING_H */