projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8db115
)
dmaengine: ti-dma-crossbar: Correct type for of_find_property() third parameter
author
Peter Ujfalusi
<peter.ujfalusi@ti.com>
Wed, 21 Sep 2016 12:41:31 +0000
(15:41 +0300)
committer
Vinod Koul
<vinod.koul@intel.com>
Wed, 28 Sep 2016 03:23:15 +0000
(08:53 +0530)
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>
drivers/dma/ti-dma-crossbar.c
patch
|
blob
|
history
diff --git
a/drivers/dma/ti-dma-crossbar.c
b/drivers/dma/ti-dma-crossbar.c
index
5ae294b
..
e4f3bd1
100644
(file)
--- a/
drivers/dma/ti-dma-crossbar.c
+++ b/
drivers/dma/ti-dma-crossbar.c
@@
-311,7
+311,7
@@
static int ti_dra7_xbar_probe(struct platform_device *pdev)
struct property *prop;
struct resource *res;
u32 safe_val;
-
size_
t sz;
+
in
t sz;
void __iomem *iomem;
int i, ret;