summaryrefslogtreecommitdiff
path: root/drivers/dma/mcf-edma.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/dma/mcf-edma.c')
-rw-r--r--drivers/dma/mcf-edma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/mcf-edma.c b/drivers/dma/mcf-edma.c
index 4d30d5302649..5de1b07eddff 100644
--- a/drivers/dma/mcf-edma.c
+++ b/drivers/dma/mcf-edma.c
@@ -293,7 +293,7 @@ bool mcf_edma_filter_fn(struct dma_chan *chan, void *param)
if (chan->device->dev->driver == &mcf_edma_driver.driver) {
struct fsl_edma_chan *mcf_chan = to_fsl_edma_chan(chan);
- return (mcf_chan->slave_id == (u32)param);
+ return (mcf_chan->slave_id == (uintptr_t)param);
}
return false;