dmaengine: dma-jz4780: Don't depend on MACH_JZ4780
authorPaul Cercueil <paul@crapouillou.net>
Wed, 29 Aug 2018 21:32:48 +0000 (23:32 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Nov 2019 08:52:11 +0000 (09:52 +0100)
[ Upstream commit c558ecd21c852c97ff98dc6c61f715ba420ec251 ]

If we make this driver depend on MACH_JZ4780, that means it can be
enabled only if we're building a kernel specially crafted for a
JZ4780-based board, while most GNU/Linux distributions will want one
generic MIPS kernel that works on multiple boards.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/dma/Kconfig

index 141aefbe37ec93d1f4f38d1be5e2cf8d93266725..b0f798244a897512d76f71a00a5a653a0d12154d 100644 (file)
@@ -120,7 +120,7 @@ config DMA_JZ4740
 
 config DMA_JZ4780
        tristate "JZ4780 DMA support"
-       depends on MACH_JZ4780 || COMPILE_TEST
+       depends on MIPS || COMPILE_TEST
        select DMA_ENGINE
        select DMA_VIRTUAL_CHANNELS
        help