]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/amcc/luan/luan.c
Make sure that argv[] argument pointers are not modified.
[karo-tx-uboot.git] / board / amcc / luan / luan.c
index 6542565f08a3a886648d5fe2d977d0d35d801848..c0368c0389fb877729024e8defd0c515a29fbba8 100644 (file)
@@ -119,7 +119,7 @@ int checkboard(void)
 }
 
 /*
- * Override the default functions in arch/ppc/cpu/ppc4xx/44x_spd_ddr2.c with
+ * Override the default functions in arch/powerpc/cpu/ppc4xx/44x_spd_ddr2.c with
  * board specific values.
  */
 u32 ddr_clktr(u32 default_val) {
@@ -207,7 +207,7 @@ static int l2cache_status(void)
  *  int do_l2cache()
  *
  ************************************************************************/
-int do_l2cache( cmd_tbl_t *cmdtp, int flag, int argc, char *argv[] )
+int do_l2cache( cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[] )
 {
        switch (argc) {
        case 2:                 /* on / off     */