mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-30 02:21:15 +00:00
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>
This commit is contained in:
parent
b7862742fe
commit
f1d1e34fa5
1 changed files with 1 additions and 2 deletions
|
@ -2026,8 +2026,7 @@ static struct edma_soc_info *edma_setup_info_from_dt(struct device *dev,
|
||||||
{
|
{
|
||||||
struct edma_soc_info *info;
|
struct edma_soc_info *info;
|
||||||
struct property *prop;
|
struct property *prop;
|
||||||
size_t sz;
|
int sz, ret;
|
||||||
int ret;
|
|
||||||
|
|
||||||
info = devm_kzalloc(dev, sizeof(struct edma_soc_info), GFP_KERNEL);
|
info = devm_kzalloc(dev, sizeof(struct edma_soc_info), GFP_KERNEL);
|
||||||
if (!info)
|
if (!info)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue