Make sure that argv[] argument pointers are not modified.
[J-u-boot.git] / arch / powerpc / cpu / mpc83xx / ecc.c
index f3942b411f65c172924f8c88052b3db6cb4ba94a..8dadd64b4255bebba261ca0efde73f3c351acdee 100644 (file)
@@ -98,7 +98,7 @@ void ecc_print_status(void)
               ddr->capture_attributes & ECC_CAPT_ATTR_VLD);
 }
 
-int do_ecc(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
+int do_ecc(cmd_tbl_t * cmdtp, int flag, int argc, char * const argv[])
 {
        volatile immap_t *immap = (immap_t *) CONFIG_SYS_IMMR;
        volatile ddr83xx_t *ddr = &immap->ddr;
This page took 0.027584 seconds and 4 git commands to generate.