[v11,14/14] dmaengine: st_fdma: Update st_fdma to 'depends on REMOTEPROC'.

Message ID 1478542665-17089-15-git-send-email-peter.griffin@linaro.org
State Accepted
Commit 184e13969fe68e57f863be7b6daf202f2cc18818
Headers show

Commit Message

Peter Griffin Nov. 7, 2016, 6:17 p.m.
During randconfig builds you can get the following warning
"warning: (ST_FDMA) selects ST_SLIM_REMOTEPROC which has unmet direct
 dependencies (REMOTEPROC)"

randconfig builds should always build without any warnings so
update fdma to depend on REMOTEPROC so this can not happen.

Signed-off-by: Peter Griffin <peter.griffin@linaro.org>

Reported-by: Arnd Bergmann <arnd@arndb.de>
Tested-by: Arnd Bergmann <arnd@arndb.de>

---
 drivers/dma/Kconfig | 1 +
 1 file changed, 1 insertion(+)

-- 
2.7.4

Patch

diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig
index 661f217..6b96710 100644
--- a/drivers/dma/Kconfig
+++ b/drivers/dma/Kconfig
@@ -438,6 +438,7 @@  config STE_DMA40
 config ST_FDMA
 	tristate "ST FDMA dmaengine support"
 	depends on ARCH_STI
+	depends on REMOTEPROC
 	select ST_SLIM_REMOTEPROC
 	select DMA_ENGINE
 	select DMA_VIRTUAL_CHANNELS