mpc83xx: supress compiler warning
authorKim Phillips <kim.phillips@freescale.com>
Mon, 10 Dec 2007 20:16:22 +0000 (14:16 -0600)
committerKim Phillips <kim.phillips@freescale.com>
Tue, 8 Jan 2008 15:55:41 +0000 (09:55 -0600)
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 <kim.phillips@freescale.com>
board/freescale/mpc8360emds/mpc8360emds.c

index 4a368b0d71650828b2e6f28671d07e755abda071..e673840cfa406022da1ae05910075b40dcf2f8fa 100644 (file)
@@ -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");