]> 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)
commite2e026b762138d0fb29af42ca9ab83bc34a1fcc2
tree1fd1ff77d4524e87c495892c90a606419301c6b8
parent325b71f5a36aeb84a830bce9703d67a55f3b32e7
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: 79efdd35debf ("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