summaryrefslogtreecommitdiff
path: root/arch/avr32/include/asm/dma-mapping.h
blob: 1115f2a645d1805de87396e49fc27de9b7700136 (plain) (blame)
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 struct dma_map_ops avr32_dma_ops;

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

#endif /* __ASM_AVR32_DMA_MAPPING_H */