From: Alexander Popov Date: Wed, 30 Jul 2014 11:58:51 +0000 (+0400) Subject: dmaengine: of: kconfig: select DMA_ENGINE when DMA_OF is selected X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=2795eedf2fbd816f1bba0e8eb5f33434a67d61c2;p=linux-beck.git 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 Reported-by: kbuild test robot Signed-off-by: Vinod Koul --- 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 config DMA_OF def_bool y depends on OF + select DMA_ENGINE comment "DMA Clients" depends on DMA_ENGINE