]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/eltec/bab7xx/bab7xx.c
Make sure that argv[] argument pointers are not modified.
[karo-tx-uboot.git] / board / eltec / bab7xx / bab7xx.c
index 1f78f8d16ec127b40a9d0acaa332fbd8cbdd9914..f5c9777ee10f9b07fa7d83401c090c0504db7dbc 100644 (file)
@@ -184,7 +184,7 @@ void after_reloc (ulong dest_addr)
  * do_reset is done here because in this case it is board specific, since the
  * 7xx CPUs can only be reset by external HW (the RTC in this case).
  */
-void do_reset (cmd_tbl_t * cmdtp, bd_t * bd, int flag, int argc, char *argv[])
+void do_reset (cmd_tbl_t * cmdtp, bd_t * bd, int flag, int argc, char * const argv[])
 {
 #if defined(CONFIG_RTC_MK48T59)
        /* trigger watchdog immediately */