]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - board/eltec/elppc/elppc.c
Make sure that argv[] argument pointers are not modified.
[karo-tx-uboot.git] / board / eltec / elppc / elppc.c
index e73c712cbb9a60eea25fbee21f92fc3225627705..cb9ab86cb0d7c4aef7f0aee1d0af8a03a8328de9 100644 (file)
@@ -117,7 +117,7 @@ phys_size_t initdram (int board_type)
  * Register PI in the MPC 107 (at offset 0x41090 of the Embedded Utilities
  * Memory Block).
  */
-int do_reset (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
+int do_reset (cmd_tbl_t * cmdtp, int flag, int argc, char * const argv[])
 {
        out8 (MPC107_EUMB_PI, 1);
        return (0);