From 8f2fabe98916fe349d0a412192dfaa0c3cba9874 Mon Sep 17 00:00:00 2001 From: Minkyu Kang Date: Mon, 2 Apr 2012 16:51:33 +0900 Subject: [PATCH] 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: Minkyu Kang Cc: Chander Kashyap --- board/samsung/smdk5250/tzpc_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/samsung/smdk5250/tzpc_init.c b/board/samsung/smdk5250/tzpc_init.c index f39bd55e6c..c833541fd0 100644 --- a/board/samsung/smdk5250/tzpc_init.c +++ b/board/samsung/smdk5250/tzpc_init.c @@ -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); -- 2.39.5