summaryrefslogtreecommitdiff
path: root/arch/avr32/include/asm/dma-mapping.h
blob: 7388451f9905004f6bca38e8064562dcc47c4926 (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_arch_dma_ops(struct bus_type *bus)
{
	return &avr32_dma_ops;
}

#endif /* __ASM_AVR32_DMA_MAPPING_H */