projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04ce68e
)
SMDK5250: fix compiler warning
author
Minkyu Kang
<mk7.kang@samsung.com>
Mon, 2 Apr 2012 07:51:33 +0000
(16:51 +0900)
committer
Albert 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
patch
|
blob
|
history
diff --git
a/board/samsung/smdk5250/tzpc_init.c
b/board/samsung/smdk5250/tzpc_init.c
index f39bd55e6c3c4ee2cea9b4ef06f9763ce7244261..c833541fd03e39a969c01dda9433effcba83b498 100644
(file)
--- 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 exynos
5
_tzpc *)addr;
+ tzpc = (struct exynos_tzpc *)addr;
if (addr == TZPC0_BASE)
writel(R0SIZE, &tzpc->r0size);