kernel/include/asm-generic/dma-mapping.h
.. .. @@ -4,16 +4,7 @@ 4 4 5 5 static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus) 6 6 { 7 - /*8 - * Use the non-coherent ops if available. If an architecture wants a9 - * more fine-grained selection of operations it will have to implement10 - * get_arch_dma_ops itself or use the per-device dma_ops.11 - */12 -#ifdef CONFIG_DMA_NONCOHERENT_OPS13 - return &dma_noncoherent_ops;14 -#else15 - return &dma_direct_ops;16 -#endif7 + return NULL;17 8 } 18 9 19 10 #endif /* _ASM_GENERIC_DMA_MAPPING_H */