summaryrefslogtreecommitdiffstats
path: root/drivers/dma
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@ti.com>2016-09-21 15:41:29 +0300
committerVinod Koul <vinod.koul@intel.com>2016-09-28 08:53:13 +0530
commitf1d1e34fa5929552662d2c25363bbb82dd3a8fec (patch)
tree5e608324175cb6f2d35da7b6adacf1aa77831346 /drivers/dma
parentb7862742feadf22cc1496bb6b460236a900512db (diff)
downloadlinux-f1d1e34fa5929552662d2c25363bbb82dd3a8fec.tar.bz2
dmaengine: edma: Use correct type for of_find_property() third parameter
The correct type is int and not for the third parameter of of_find_property(). Fixes compilation for 64bit architectures (x86_64, aarch64). Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma')
-rw-r--r--drivers/dma/edma.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/dma/edma.c b/drivers/dma/edma.c
index 951b8b204a47..4f00db34db98 100644
--- a/drivers/dma/edma.c
+++ b/drivers/dma/edma.c
@@ -2026,8 +2026,7 @@ static struct edma_soc_info *edma_setup_info_from_dt(struct device *dev,
{
struct edma_soc_info *info;
struct property *prop;
- size_t sz;
- int ret;
+ int sz, ret;
info = devm_kzalloc(dev, sizeof(struct edma_soc_info), GFP_KERNEL);
if (!info)