Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dmaengine: sh: Kconfig: Drop ARCH_R7S72100/ARCH_RZG2L dependency

The RZ DMA controller is used across multiple Renesas SoCs, not only
RZ/A1 (R7S72100) and RZ/G2L. Limiting the build to these SoCs prevents
enabling the driver on newer platforms such as RZ/V2H(P) and RZ/V2N.

Replace the ARCH_R7S72100 || ARCH_RZG2L dependency with ARCH_RENESAS so
the driver can be built for all Renesas SoCs.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Lad Prabhakar and committed by
Vinod Koul
bc2c3960 c3c328d2

+1 -1
+1 -1
drivers/dma/sh/Kconfig
··· 50 50 51 51 config RZ_DMAC 52 52 tristate "Renesas RZ DMA Controller" 53 - depends on ARCH_R7S72100 || ARCH_RZG2L || COMPILE_TEST 53 + depends on ARCH_RENESAS || COMPILE_TEST 54 54 select RENESAS_DMA 55 55 select DMA_VIRTUAL_CHANNELS 56 56 help