mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-28 21:02:43 +01:00
DMA ops are a helper for architectures and not for drivers to override the DMA implementation. Unfortunately driver authors keep ignoring this. Make the fact more clear by renaming the symbol to ARCH_HAS_DMA_OPS and having the two drivers overriding their dma_ops depend on that. These drivers should probably be marked broken, but we can give them a bit of a grace period for that. Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: Thomas Gleixner <[email protected]> Acked-by: Sakari Ailus <[email protected]> # for IPU6 Acked-by: Robin Murphy <[email protected]>
13 lines
465 B
Makefile
13 lines
465 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
obj-$(CONFIG_HAS_DMA) += mapping.o direct.o
|
|
obj-$(CONFIG_DMA_OPS_HELPERS) += ops_helpers.o
|
|
obj-$(CONFIG_ARCH_HAS_DMA_OPS) += dummy.o
|
|
obj-$(CONFIG_DMA_CMA) += contiguous.o
|
|
obj-$(CONFIG_DMA_DECLARE_COHERENT) += coherent.o
|
|
obj-$(CONFIG_DMA_API_DEBUG) += debug.o
|
|
obj-$(CONFIG_SWIOTLB) += swiotlb.o
|
|
obj-$(CONFIG_DMA_COHERENT_POOL) += pool.o
|
|
obj-$(CONFIG_MMU) += remap.o
|
|
obj-$(CONFIG_DMA_MAP_BENCHMARK) += map_benchmark.o
|