From: Kim Phillips Date: Mon, 10 Dec 2007 20:16:22 +0000 (-0600) Subject: mpc83xx: supress compiler warning X-Git-Tag: v1.3.2-rc1~102^2~49^2~25^2~10 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f602082b4b7ed4ee16432067cc67a0a24fedc715;p=u-boot mpc83xx: supress compiler warning 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 --- 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");