dma-copy: remove CONFIG_DMA_GW macro.

Remove CONFIG_DMA_GW macro to use dma_copy_set_stream_tag function
to get dma channel on AMD platforms for probe.

Signed-off-by: Kalva, DineshKumar <dineshkumar.kalva@amd.com>
This commit is contained in:
Kalva, DineshKumar 2023-12-13 18:50:08 +05:30 committed by Kai Vehmanen
parent b9d0d86e46
commit 9824a05d7c
1 changed files with 0 additions and 3 deletions

View File

@ -184,8 +184,6 @@ int dma_copy_new(struct dma_copy *dc)
return 0;
}
#if CONFIG_DMA_GW
int dma_copy_set_stream_tag(struct dma_copy *dc, uint32_t stream_tag)
{
/* get DMA channel from DMAC */
@ -198,4 +196,3 @@ int dma_copy_set_stream_tag(struct dma_copy *dc, uint32_t stream_tag)
return 0;
}
#endif