From f602082b4b7ed4ee16432067cc67a0a24fedc715 Mon Sep 17 00:00:00 2001 From: Kim Phillips Date: Mon, 10 Dec 2007 14:16:22 -0600 Subject: [PATCH] mpc83xx: supress compiler warning MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit mpc8360emds.c: In function ‘ft_board_setup’: mpc8360emds.c:335: warning: assignment discards qualifiers from pointer target type mpc8360emds.c:345: warning: assignment discards qualifiers from pointer target type Signed-off-by: Kim Phillips --- board/freescale/mpc8360emds/mpc8360emds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/freescale/mpc8360emds/mpc8360emds.c b/board/freescale/mpc8360emds/mpc8360emds.c index 4a368b0d71..e673840cfa 100644 --- a/board/freescale/mpc8360emds/mpc8360emds.c +++ b/board/freescale/mpc8360emds/mpc8360emds.c @@ -326,7 +326,7 @@ void ft_board_setup(void *blob, bd_t *bd) if (immr->sysconf.spridr == SPR_8360_REV21 || immr->sysconf.spridr == SPR_8360E_REV21) { int nodeoffset; - void *prop; + const char *prop; /* fixup UCC 1 if using rgmii-id mode */ nodeoffset = fdt_path_offset(blob, "/" OF_QE "/ucc@2000"); -- 2.39.5