riscv: select DMA_DIRECT_OPS instead of redefining it
PATCH 1/1 riscv: select DMA_DIRECT_OPS instead of redefining it
DMA_DIRECT_OPS is defined in lib/Kconfig, so don't duplicate it in arch/riscv/Kconfig.
Signed-off-by Christoph Hellwig <[email protected]>
--- arch/riscv/Kconfig | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
arch/riscv/Kconfig +1 -3
@@ -11,6 +11,7 @@ config RISCV select ARCH_WANT_FRAME_POINTERS select CLONE_BACKWARDS select COMMON_CLK + select DMA_DIRECT_OPS select GENERIC_CLOCKEVENTS select GENERIC_CPU_DEVICES select GENERIC_IRQ_SHOW
@@ -89,9 +90,6 @@ config PGTABLE_LEVELS config HAVE_KPROBES def_bool n -config DMA_DIRECT_OPS - def_bool y - menu "Platform type" choice
Signature · 1 line
2.17.0
PATCH 1/1 riscv: select DMA_DIRECT_OPS instead of redefining it
Quoted 21 lines · Christoph Hellwig
DMA_DIRECT_OPSis defined in lib/Kconfig, so don't duplicate it inarch/riscv/Kconfig.Signed-off-by Christoph Hellwig <[email protected]>--- arch/riscv/Kconfig | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)arch/riscv/Kconfig +1
-0@@ -11,6 +11,7 @@ config RISCV select ARCH_WANT_FRAME_POINTERS select CLONE_BACKWARDS select COMMON_CLK + select DMA_DIRECT_OPS select GENERIC_CLOCKEVENTS select GENERIC_CPU_DEVICES select GENERIC_IRQ_SHOW
arch/riscv/Kconfig config PGTABLE_LEVELS · line 95
Quoted 9 lines
arch/riscv/Kconfig +0
-3@@ -89,9 +90,6 @@ config PGTABLE_LEVELS config HAVE_KPROBES def_bool n -config DMA_DIRECT_OPS - def_bool y - menu "Platform type" choice
Thanks!