Commit ea62e2cc authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Vinod Koul

dmaengine: stm32_mdma: add CONFIG_OF dependency

Without CONFIG_OF we get a build warning:

warning: (STM32_MDMA) selects DMA_OF which has unmet direct dependencies (DMADEVICES && OF)

This adds a dependency on CONFIG_OF. Since this means
we no longer need to select 'DMA_OF', I'm dropping that line
as well.

Fixes: a4ffb13c ("dmaengine: Add STM32 MDMA driver")
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
parent 38502f23
...@@ -495,8 +495,8 @@ config STM32_DMAMUX ...@@ -495,8 +495,8 @@ config STM32_DMAMUX
config STM32_MDMA config STM32_MDMA
bool "STMicroelectronics STM32 master dma support" bool "STMicroelectronics STM32 master dma support"
depends on ARCH_STM32 || COMPILE_TEST depends on ARCH_STM32 || COMPILE_TEST
depends on OF
select DMA_ENGINE select DMA_ENGINE
select DMA_OF
select DMA_VIRTUAL_CHANNELS select DMA_VIRTUAL_CHANNELS
help help
Enable support for the on-chip MDMA controller on STMicroelectronics Enable support for the on-chip MDMA controller on STMicroelectronics
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment