]> git.sur5r.net Git - u-boot/commitdiff
SMDK5250: fix compiler warning
authorMinkyu Kang <mk7.kang@samsung.com>
Mon, 2 Apr 2012 07:51:33 +0000 (16:51 +0900)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Tue, 15 May 2012 06:31:29 +0000 (08:31 +0200)
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>
board/samsung/smdk5250/tzpc_init.c

index f39bd55e6c3c4ee2cea9b4ef06f9763ce7244261..c833541fd03e39a969c01dda9433effcba83b498 100644 (file)
@@ -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);