[PATCHv2] dmaengine: bestcomm: Enable compile testing

Rosen Penev posted 1 patch 1 week, 2 days ago
drivers/dma/bestcomm/Kconfig | 3 +--
1 file changed, 1 insertions(+), 2 deletions(-)
[PATCHv2] dmaengine: bestcomm: Enable compile testing
Posted by Rosen Penev 1 week, 2 days ago
Allow the BestComm DMA engine to be selected for PowerPC
compile-test builds.

Assisted-by: Codex:GPT-5.5
Signed-off-by: Rosen Penev <rosenp@gmail.com>
---
 v2: remove PATA driver change.
 drivers/dma/bestcomm/Kconfig | 3 +--
 1 file changed, 1 insertions(+), 2 deletions(-)

diff --git a/drivers/dma/bestcomm/Kconfig b/drivers/dma/bestcomm/Kconfig
index 5dd437295964..153b5492c93c 100644
--- a/drivers/dma/bestcomm/Kconfig
+++ b/drivers/dma/bestcomm/Kconfig
@@ -5,7 +5,7 @@
 
 config PPC_BESTCOMM
 	tristate "Bestcomm DMA engine support"
-	depends on PPC_MPC52xx
+	depends on PPC_MPC52xx || (PPC && COMPILE_TEST)
 	default n
 	select PPC_LIB_RHEAP
 	help
@@ -34,4 +34,3 @@ config PPC_BESTCOMM_GEN_BD
 	depends on PPC_BESTCOMM
 	help
 	  This option enables the support for the GenBD tasks.
-
-- 
2.54.0