ARM: rmobile: rcar-common: Fix warning of type difference
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
This commit is contained in:
parent
e525d34b47
commit
4ebaba55a4
@ -55,9 +55,11 @@ void arch_preboot_os(void)
|
|||||||
|
|
||||||
/* Stop module clock */
|
/* Stop module clock */
|
||||||
for (i = 0; i < ARRAY_SIZE(mstptbl); i++) {
|
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);
|
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);
|
mstptbl[i].r_ena);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user