]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: stm32_mdma: add CONFIG_OF dependency
authorArnd Bergmann <arnd@arndb.de>
Wed, 11 Oct 2017 14:00:04 +0000 (16:00 +0200)
committerVinod Koul <vinod.koul@intel.com>
Thu, 12 Oct 2017 14:03:55 +0000 (19:33 +0530)
commitafdd4a20ab0209046b9955121f461f3072111615
tree1fd1ff77d4524e87c495892c90a606419301c6b8
parent561a7d1ad0562503274c42b73a6768dac7957c0d
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: b1dad19a9f11 ("dmaengine: Add STM32 MDMA driver")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/Kconfig