summaryrefslogtreecommitdiff
path: root/board/samsung
diff options
context:
space:
mode:
authorMinkyu Kang <mk7.kang@samsung.com>2012-04-02 16:51:33 +0900
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-05-15 08:31:29 +0200
commit8f2fabe98916fe349d0a412192dfaa0c3cba9874 (patch)
tree9a923e67af579f86023c7d7532c38c221d5c3695 /board/samsung
parent04ce68eee39eeaebbea60394cc0bba2c6ea49c12 (diff)
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>
Diffstat (limited to 'board/samsung')
-rw-r--r--board/samsung/smdk5250/tzpc_init.c2
1 files changed, 1 insertions, 1 deletions
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);