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~100^2~33^2~30^2~10 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f602082b4b7ed4ee16432067cc67a0a24fedc715;p=kernel%2Fu-boot.git 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 4a368b0..e673840 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");