Skip to content

Commit c2b9e97

Browse files
jwboyerVinod Koul
authored andcommitted
dma/Kconfig: Make TI_EDMA select TI_PRIV_EDMA
The TI_EDMA driver unconditionally calls functions provided by the TI_PRIV_EDMA code, but it doesn't force that to be built-in. If that isn't otherwise enabled somewhere, you can get build errors like: linux-3.12.0-0.rc0.git1.1.fc21.armv7hl/drivers/dma/edma.c:593: undefined reference to `edma_free_slot' drivers/built-in.o: In function `edma_terminate_all': linux-3.12.0-0.rc0.git1.1.fc21.armv7hl/drivers/dma/edma.c:169: undefined reference to `edma_stop' drivers/built-in.o: In function `edma_execute': linux-3.12.0-0.rc0.git1.1.fc21.armv7hl/drivers/dma/edma.c:122: undefined reference to `edma_write_slot' linux-3.12.0-0.rc0.git1.1.fc21.armv7hl/drivers/dma/edma.c:149: undefined reference to `edma_link' linux-3.12.0-0.rc0.git1.1.fc21.armv7hl/drivers/dma/edma.c:152: undefined reference to `edma_start' Make TI_EDMA select TI_PRIV_EDMA to avoid this. Signed-off-by: Josh Boyer <[email protected]> Acked-by: Matt Porter <[email protected]> Signed-off-by: Vinod Koul <[email protected]>
1 parent d71505b commit c2b9e97

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/dma/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@ config TI_EDMA
198198
depends on ARCH_DAVINCI || ARCH_OMAP
199199
select DMA_ENGINE
200200
select DMA_VIRTUAL_CHANNELS
201+
select TI_PRIV_EDMA
201202
default n
202203
help
203204
Enable support for the TI EDMA controller. This DMA

0 commit comments

Comments
 (0)