diff options
author | Alexander Popov <a13xp0p0v88@gmail.com> | 2014-07-30 07:58:51 -0400 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2014-07-30 09:36:55 -0400 |
commit | 2795eedf2fbd816f1bba0e8eb5f33434a67d61c2 (patch) | |
tree | 3c1328e3431cb908d8147d1a27a642471ecd352c /drivers/dma | |
parent | db0e7018191e1deb33e3ed8bb8ed89e5a4ae1ba1 (diff) |
dmaengine: of: kconfig: select DMA_ENGINE when DMA_OF is selected
Select DMA_ENGINE when DMA_OF is selected since
of_dma_xlate_by_chan_id() from drivers/dma/of-dma.c uses
dma_get_slave_channel() from drivers/dma/dmaengine.c
This resolves error reported:
drivers/built-in.o: In function `of_dma_xlate_by_chan_id':
drivers/dma/of-dma.c:253: undefined reference to `dma_get_slave_channel'
Signed-off-by: Alexander Popov <a13xp0p0v88@gmail.com>
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma')
-rw-r--r-- | drivers/dma/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig index 4b439270fb11..d4f0415894c7 100644 --- a/drivers/dma/Kconfig +++ b/drivers/dma/Kconfig | |||
@@ -396,6 +396,7 @@ config DMA_ACPI | |||
396 | config DMA_OF | 396 | config DMA_OF |
397 | def_bool y | 397 | def_bool y |
398 | depends on OF | 398 | depends on OF |
399 | select DMA_ENGINE | ||
399 | 400 | ||
400 | comment "DMA Clients" | 401 | comment "DMA Clients" |
401 | depends on DMA_ENGINE | 402 | depends on DMA_ENGINE |