Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v4.12-rc1 25 lines 488 B view raw
1#ifndef _ASM_CRIS_DMA_MAPPING_H 2#define _ASM_CRIS_DMA_MAPPING_H 3 4#ifdef CONFIG_PCI 5extern const struct dma_map_ops v32_dma_ops; 6 7static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus) 8{ 9 return &v32_dma_ops; 10} 11#else 12static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus) 13{ 14 BUG(); 15 return NULL; 16} 17#endif 18 19static inline void 20dma_cache_sync(struct device *dev, void *vaddr, size_t size, 21 enum dma_data_direction direction) 22{ 23} 24 25#endif