summaryrefslogtreecommitdiffstats
path: root/arch/avr32/include/asm/dma-mapping.h
blob: 0239ca84eb41cae2ddbf58130b06bd853958c0f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#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 struct dma_map_ops avr32_dma_ops;

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

#include <asm-generic/dma-mapping-common.h>

#endif /* __ASM_AVR32_DMA_MAPPING_H */