diff options
author | Christoph Hellwig <hch@lst.de> | 2024-08-28 09:02:47 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2024-09-04 07:08:51 +0300 |
commit | de6c85bf918ea52d5c680f0d130b37ee2ff152d6 (patch) | |
tree | 4dd1ee15eaeac8ee0f26c1c4ec258d6b81057581 /arch/sparc | |
parent | 92193b3569ade4968011007356c8606def0657a1 (diff) | |
download | linux-de6c85bf918ea52d5c680f0d130b37ee2ff152d6.tar.gz linux-de6c85bf918ea52d5c680f0d130b37ee2ff152d6.tar.bz2 linux-de6c85bf918ea52d5c680f0d130b37ee2ff152d6.zip |
dma-mapping: clearly mark DMA ops as an architecture feature
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>
Diffstat (limited to 'arch/sparc')
-rw-r--r-- | arch/sparc/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig index 11bf9d312318..dcfdb7f1dae9 100644 --- a/arch/sparc/Kconfig +++ b/arch/sparc/Kconfig @@ -14,9 +14,9 @@ config SPARC bool default y select ARCH_HAS_CPU_CACHE_ALIASING + select ARCH_HAS_DMA_OPS select ARCH_MIGHT_HAVE_PC_PARPORT if SPARC64 && PCI select ARCH_MIGHT_HAVE_PC_SERIO - select DMA_OPS select OF select OF_PROMTREE select HAVE_ASM_MODVERSIONS |