dmaengine: of: kconfig: select DMA_ENGINE when DMA_OF is selected
authorAlexander Popov <a13xp0p0v88@gmail.com>
Wed, 30 Jul 2014 11:58:51 +0000 (15:58 +0400)
committerVinod Koul <vinod.koul@intel.com>
Wed, 30 Jul 2014 13:36:55 +0000 (19:06 +0530)
commit2795eedf2fbd816f1bba0e8eb5f33434a67d61c2
tree3c1328e3431cb908d8147d1a27a642471ecd352c
parentdb0e7018191e1deb33e3ed8bb8ed89e5a4ae1ba1
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>
drivers/dma/Kconfig