diff options
author | Minkyu Kang <mk7.kang@samsung.com> | 2012-04-02 16:51:33 +0900 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2012-05-15 08:31:29 +0200 |
commit | 8f2fabe98916fe349d0a412192dfaa0c3cba9874 (patch) | |
tree | 9a923e67af579f86023c7d7532c38c221d5c3695 /board/samsung | |
parent | 04ce68eee39eeaebbea60394cc0bba2c6ea49c12 (diff) | |
download | u-boot-imx-8f2fabe98916fe349d0a412192dfaa0c3cba9874.zip u-boot-imx-8f2fabe98916fe349d0a412192dfaa0c3cba9874.tar.gz u-boot-imx-8f2fabe98916fe349d0a412192dfaa0c3cba9874.tar.bz2 |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/samsung/smdk5250/tzpc_init.c b/board/samsung/smdk5250/tzpc_init.c index f39bd55..c833541 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); |