Skip to contentSkip to conversation

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

PATCH Angelo Dureghello 1 participant 1 message Jul 3, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

This patch fixes 'different address space' errors.

---
 drivers/dma/fsl-edma-common.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/dma/fsl-edma-common.c +1 -1
index 17d677bd11f9..72e52c1b5527 100644
@@ -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;
 
 	/*