diff options
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2016-09-21 08:41:29 -0400 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2016-09-27 23:23:13 -0400 |
commit | f1d1e34fa5929552662d2c25363bbb82dd3a8fec (patch) | |
tree | 5e608324175cb6f2d35da7b6adacf1aa77831346 | |
parent | b7862742feadf22cc1496bb6b460236a900512db (diff) |
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>
-rw-r--r-- | drivers/dma/edma.c | 3 |
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, | |||
2026 | { | 2026 | { |
2027 | struct edma_soc_info *info; | 2027 | struct edma_soc_info *info; |
2028 | struct property *prop; | 2028 | struct property *prop; |
2029 | size_t sz; | 2029 | int sz, ret; |
2030 | int ret; | ||
2031 | 2030 | ||
2032 | info = devm_kzalloc(dev, sizeof(struct edma_soc_info), GFP_KERNEL); | 2031 | info = devm_kzalloc(dev, sizeof(struct edma_soc_info), GFP_KERNEL); |
2033 | if (!info) | 2032 | if (!info) |