Skip to content
Snippets Groups Projects
Commit 8f2fabe9 authored by Minkyu Kang's avatar Minkyu Kang Committed by Albert ARIBAUD
Browse files

SMDK5250: fix compiler warning


this patch fixed following warning.
tzpc_init.c: In function 'tzpc_init':
tzpc_init.c:35: warning: assignment from incompatible pointer type

Signed-off-by: default avatarMinkyu Kang <mk7.kang@samsung.com>
Cc: Chander Kashyap <chander.kashyap@linaro.org>
parent 04ce68ee
No related branches found
No related tags found
No related merge requests found
......@@ -32,7 +32,7 @@ void tzpc_init(void)
unsigned int addr;
for (addr = TZPC0_BASE; addr <= TZPC9_BASE; addr += TZPC_BASE_OFFSET) {
tzpc = (struct exynos5_tzpc *)addr;
tzpc = (struct exynos_tzpc *)addr;
if (addr == TZPC0_BASE)
writel(R0SIZE, &tzpc->r0size);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment