mirror of
https://github.com/torvalds/linux.git
synced 2024-11-28 15:11:31 +00:00
de6c85bf91
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 <hch@lst.de> Reviewed-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com> # for IPU6 Acked-by: Robin Murphy <robin.murphy@arm.com>
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
|