summaryrefslogtreecommitdiff
path: root/arch/arc
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-02-03 22:12:02 +0300
committerChristoph Hellwig <hch@lst.de>2019-02-20 17:26:35 +0300
commitff4c25f26a71b79c70ea03b3935a1297439a8a85 (patch)
treebb278baf485553d3a73b4de530edcc2287e003a5 /arch/arc
parentbe4311a262bcf29da60c1ef6b5a457fe5d9cccef (diff)
downloadlinux-ff4c25f26a71b79c70ea03b3935a1297439a8a85.tar.xz
dma-mapping: improve selection of dma_declare_coherent availability
This API is primarily used through DT entries, but two architectures and two drivers call it directly. So instead of selecting the config symbol for random architectures pull it in implicitly for the actual users. Also rename the Kconfig option to describe the feature better. Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Paul Burton <paul.burton@mips.com> # MIPS Acked-by: Lee Jones <lee.jones@linaro.org> Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/arc')
-rw-r--r--arch/arc/Kconfig1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arc/Kconfig b/arch/arc/Kconfig
index ab8d6131c954..728a0f6f838c 100644
--- a/arch/arc/Kconfig
+++ b/arch/arc/Kconfig
@@ -31,7 +31,6 @@ config ARC
select HAVE_ARCH_TRACEHOOK
select HAVE_DEBUG_STACKOVERFLOW
select HAVE_FUTEX_CMPXCHG if FUTEX
- select HAVE_GENERIC_DMA_COHERENT
select HAVE_IOREMAP_PROT
select HAVE_KERNEL_GZIP
select HAVE_KERNEL_LZMA