]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/esd/common/cmd_loadpci.c
Make sure that argv[] argument pointers are not modified.
[karo-tx-uboot.git] / board / esd / common / cmd_loadpci.c
index eecae0a7fd1803864f6a3146bcde3b0d919afa97..87da27db1021c0ce0534b2c6f1ff013aa03f58f5 100644 (file)
@@ -37,7 +37,7 @@ extern int do_source (cmd_tbl_t *, int, int, char *[]);
 /*
  * Command loadpci: wait for signal from host and boot image.
  */
-int do_loadpci(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
+int do_loadpci(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 {
        u32 *ptr = 0;
        int count = 0;