summaryrefslogtreecommitdiff
path: root/drivers/dma
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/dma')
-rw-r--r--drivers/dma/mmp_tdma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/mmp_tdma.c b/drivers/dma/mmp_tdma.c
index f039e07181f7..fbde35688121 100644
--- a/drivers/dma/mmp_tdma.c
+++ b/drivers/dma/mmp_tdma.c
@@ -644,7 +644,7 @@ static int mmp_tdma_probe(struct platform_device *pdev)
of_id = of_match_device(mmp_tdma_dt_ids, &pdev->dev);
if (of_id)
- type = (enum mmp_tdma_type) of_id->data;
+ type = (uintptr_t) of_id->data;
else
type = platform_get_device_id(pdev)->driver_data;