Skip to content

Commit 35ddb69

Browse files
author
Christoph Hellwig
committed
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>
1 parent 10314e0 commit 35ddb69

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

‎lib/Kconfig‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -443,13 +443,11 @@ config IOMMU_HELPER
443443

444444
config DMA_DIRECT_OPS
445445
bool
446-
depends on HAS_DMA && (!64BIT || ARCH_DMA_ADDR_T_64BIT)
447-
default n
446+
depends on HAS_DMA
448447

449448
config DMA_VIRT_OPS
450449
bool
451-
depends on HAS_DMA && (!64BIT || ARCH_DMA_ADDR_T_64BIT)
452-
default n
450+
depends on HAS_DMA
453451

454452
config SWIOTLB
455453
bool

0 commit comments

Comments
 (0)