summaryrefslogtreecommitdiffstats
path: root/drivers/dma
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2017-10-11 16:00:04 +0200
committerVinod Koul <vinod.koul@intel.com>2017-10-12 19:33:55 +0530
commitea62e2ccbb18e8adc51a6591682e7efa7818478a (patch)
tree1fd1ff77d4524e87c495892c90a606419301c6b8 /drivers/dma
parent38502f232eafa3d3a1072ead3678090e11bdbecb (diff)
downloadlinux-stable-ea62e2ccbb18e8adc51a6591682e7efa7818478a.tar.gz
linux-stable-ea62e2ccbb18e8adc51a6591682e7efa7818478a.tar.bz2
linux-stable-ea62e2ccbb18e8adc51a6591682e7efa7818478a.zip
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: a4ffb13c8946 ("dmaengine: Add STM32 MDMA driver") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma')
-rw-r--r--drivers/dma/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig
index 73446622ccc9..303940b32f47 100644
--- a/drivers/dma/Kconfig
+++ b/drivers/dma/Kconfig
@@ -495,8 +495,8 @@ config STM32_DMAMUX
config STM32_MDMA
bool "STMicroelectronics STM32 master dma support"
depends on ARCH_STM32 || COMPILE_TEST
+ depends on OF
select DMA_ENGINE
- select DMA_OF
select DMA_VIRTUAL_CHANNELS
help
Enable support for the on-chip MDMA controller on STMicroelectronics