diff mbox

dmaengine: fsl-edma-common: fix semantic check errors

Message ID 20180703140633.24805-1-angelo@sysam.it (mailing list archive)
State Not Applicable
Headers show

Commit Message

Angelo Dureghello July 3, 2018, 2:06 p.m. UTC
This patch fixes 'different address space' errors.

Signed-off-by: Angelo Dureghello <angelo@sysam.it>
---
 drivers/dma/fsl-edma-common.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/drivers/dma/fsl-edma-common.c b/drivers/dma/fsl-edma-common.c
index 17d677bd11f9..72e52c1b5527 100644
--- a/drivers/dma/fsl-edma-common.c
+++ b/drivers/dma/fsl-edma-common.c
@@ -228,7 +228,7 @@  static void fsl_edma_set_tcd_regs(struct fsl_edma_chan *fsl_chan,
 			   struct fsl_edma_hw_tcd *tcd)
 {
 	struct fsl_edma_engine *edma = fsl_chan->edma;
-	struct fsl_edma_hw_tcd *mtcd = edma->regs.tcd
+	struct fsl_edma_hw_tcd __iomem *mtcd = edma->regs.tcd
 					+ fsl_chan->vchan.chan.chan_id;
 
 	/*