From: Minkyu Kang <mk7.kang@samsung.com>
Date: Mon, 2 Apr 2012 07:51:33 +0000 (+0900)
Subject: SMDK5250: fix compiler warning
X-Git-Tag: v2012.07-rc1~144^2~110
X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8f2fabe98916fe349d0a412192dfaa0c3cba9874;p=oweals%2Fu-boot.git

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 <mk7.kang@samsung.com>
Cc: Chander Kashyap <chander.kashyap@linaro.org>
---

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);