]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/cmd_reginfo.c
Make sure that argv[] argument pointers are not modified.
[karo-tx-uboot.git] / common / cmd_reginfo.c
index 89fd9ec4e9e9b84298bac31aca7271baf9045f98..94b8d58698626c6ca1a6ea8932e35f523b127f58 100644 (file)
@@ -35,7 +35,7 @@ extern void ppc4xx_reginfo(void);
 extern void mpc86xx_reginfo(void);
 #endif
 
-int do_reginfo (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
+int do_reginfo (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 {
 #if defined(CONFIG_8xx)
        volatile immap_t     *immap  = (immap_t *)CONFIG_SYS_IMMR;