]> git.karo-electronics.de Git - linux-beck.git/commitdiff
dmaengine: ti-dma-crossbar: Correct type for of_find_property() third parameter
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Wed, 21 Sep 2016 12:41:31 +0000 (15:41 +0300)
committerVinod 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

index 5ae294b256a7e45e6480b74c3c1cccc9cb480ba8..e4f3bd1ae26487a91d1512ee0cb2ddba40b8aaf3 100644 (file)
@@ -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;
+       int sz;
        void __iomem *iomem;
        int i, ret;