mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 06:00:43 +00:00
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>
This commit is contained in:
parent
04ce68eee3
commit
8f2fabe989
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue