From: Kevin Hao <kexin....@windriver.com> The fsl_edma_get_realcnt() is called in drivers/dma/fsl-edma.c. If we don't export it, compiling fsl-edma as a module would fail.
Fixed: 276ac35c4517 ("dmaengine: fsl-edma: calculate the real count for slave sg") Signed-off-by: Kevin Hao <kexin....@windriver.com> --- drivers/dma/fsl-edma-common.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/dma/fsl-edma-common.c b/drivers/dma/fsl-edma-common.c index fbd498b5de7d..0ff5a401f8b8 100644 --- a/drivers/dma/fsl-edma-common.c +++ b/drivers/dma/fsl-edma-common.c @@ -328,6 +328,7 @@ void fsl_edma_get_realcnt(struct fsl_edma_chan *fsl_chan) { fsl_chan->chn_real_count = fsl_edma_desc_residue(fsl_chan, NULL, true); } +EXPORT_SYMBOL_GPL(fsl_edma_get_realcnt); enum dma_status fsl_edma_tx_status(struct dma_chan *chan, dma_cookie_t cookie, struct dma_tx_state *txstate) -- 2.45.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13917): https://lists.yoctoproject.org/g/linux-yocto/message/13917 Mute This Topic: https://lists.yoctoproject.org/mt/105978739/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-