diff options
author | Christoph Hellwig <hch@lst.de> | 2018-04-18 11:11:52 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2018-05-19 09:46:12 +0300 |
commit | 35ddb69cd223eea5b1c68af753ed014208b6144e (patch) | |
tree | 3fc2813b561d3434a023ed058c9ea031409e61e3 /lib | |
parent | 10314e09d044296bc50dec831aa85b3ae1acedf0 (diff) | |
download | linux-35ddb69cd223eea5b1c68af753ed014208b6144e.tar.xz |
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 <abrodkin@synopsys.com>
Acked-by: Vineet Gupta <vgupta@synopsys.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Kconfig | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/Kconfig b/lib/Kconfig index 1d84e61cccfe..6c4e9d0ce5d1 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 |