public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] SMDK5250: fix compiler warning
@ 2012-04-04  4:28 Minkyu Kang
  2012-04-09  8:31 ` Minkyu Kang
  0 siblings, 1 reply; 2+ messages in thread
From: Minkyu Kang @ 2012-04-04  4:28 UTC (permalink / raw)
  To: u-boot

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 |    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);
-- 
1.7.5.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] [PATCH] SMDK5250: fix compiler warning
  2012-04-04  4:28 [U-Boot] [PATCH] SMDK5250: fix compiler warning Minkyu Kang
@ 2012-04-09  8:31 ` Minkyu Kang
  0 siblings, 0 replies; 2+ messages in thread
From: Minkyu Kang @ 2012-04-09  8:31 UTC (permalink / raw)
  To: u-boot

On 4 April 2012 13:28, Minkyu Kang <mk7.kang@samsung.com> wrote:
> 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 | ? ?2 +-
> ?1 files changed, 1 insertions(+), 1 deletions(-)
>

applied to u-boot-samsung.

-- 
from. prom.
www.promsoft.net

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-04-09  8:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-04  4:28 [U-Boot] [PATCH] SMDK5250: fix compiler warning Minkyu Kang
2012-04-09  8:31 ` Minkyu Kang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox