From: Christoph Hellwig Date: Wed, 18 Apr 2018 08:11:52 +0000 (+0200) Subject: dma-mapping: simplify Kconfig dependencies X-Git-Tag: v4.18-rc1~187^2~17 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=35ddb69cd223eea5b1c68af753ed014208b6144e;p=thirdparty%2Fkernel%2Flinux.git dma-mapping: simplify Kconfig dependencies ARCH_DMA_ADDR_T_64BIT is always true for 64-bit architectures now, so we can skip the clause requiring it. 'n' is the default default, so no need to explicitly state it. Tested-by: Alexey Brodkin Acked-by: Vineet Gupta Signed-off-by: Christoph Hellwig --- diff --git a/lib/Kconfig b/lib/Kconfig index 1d84e61cccfed..6c4e9d0ce5d1b 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -443,13 +443,11 @@ config IOMMU_HELPER config DMA_DIRECT_OPS bool - depends on HAS_DMA && (!64BIT || ARCH_DMA_ADDR_T_64BIT) - default n + depends on HAS_DMA config DMA_VIRT_OPS bool - depends on HAS_DMA && (!64BIT || ARCH_DMA_ADDR_T_64BIT) - default n + depends on HAS_DMA config SWIOTLB bool