X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=drivers%2Fdma%2Fowl-dma.c;fp=drivers%2Fdma%2Fowl-dma.c;h=384476757c5e3a47502c23dbadc2049b627dcf34;hb=708283abf896dd4853e673cc8cba70acaf9bf4ea;hp=b6e0ac8314e5cd278a0d3555805146a21bd206b3;hpb=db906f0ca6bb55b7237b880e06ec2fc95ab67e16;p=platform%2Fkernel%2Flinux-rpi.git diff --git a/drivers/dma/owl-dma.c b/drivers/dma/owl-dma.c index b6e0ac8..3844767 100644 --- a/drivers/dma/owl-dma.c +++ b/drivers/dma/owl-dma.c @@ -20,8 +20,9 @@ #include #include #include -#include +#include #include +#include #include #include "virt-dma.h" @@ -1116,7 +1117,7 @@ static int owl_dma_probe(struct platform_device *pdev) dev_info(&pdev->dev, "dma-channels %d, dma-requests %d\n", nr_channels, nr_requests); - od->devid = (enum owl_dma_id)of_device_get_match_data(&pdev->dev); + od->devid = (uintptr_t)of_device_get_match_data(&pdev->dev); od->nr_pchans = nr_channels; od->nr_vchans = nr_requests;