]> git.sur5r.net Git - u-boot/commitdiff
ARM: rmobile: rcar-common: Fix warning of type difference
authorNobuhiro Iwamatsu <iwamatsu@nigauri.org>
Thu, 31 Mar 2016 18:51:37 +0000 (03:51 +0900)
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>
Wed, 17 Aug 2016 01:25:35 +0000 (10:25 +0900)
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
board/renesas/rcar-common/common.c

index d6144c2aa1238c341514e91d5cf7d551e8b9460d..33c1726f1863ffb5c51595ec7c8e219b93768077 100644 (file)
@@ -55,9 +55,11 @@ void arch_preboot_os(void)
 
        /* Stop module clock */
        for (i = 0; i < ARRAY_SIZE(mstptbl); i++) {
-               mstp_setclrbits_le32(mstptbl[i].s_addr, mstptbl[i].s_dis,
+               mstp_setclrbits_le32((uintptr_t)mstptbl[i].s_addr,
+                                    mstptbl[i].s_dis,
                                     mstptbl[i].s_ena);
-               mstp_setclrbits_le32(mstptbl[i].r_addr, mstptbl[i].r_dis,
+               mstp_setclrbits_le32((uintptr_t)mstptbl[i].r_addr,
+                                    mstptbl[i].r_dis,
                                     mstptbl[i].r_ena);
        }
 }