]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/esd/pci405/cmd_pci405.c
Make sure that argv[] argument pointers are not modified.
[karo-tx-uboot.git] / board / esd / pci405 / cmd_pci405.c
index 1d14611293e9c7dbc93abd72e2006f8be3cb2819..2fc9fda5d2def9f37773ff2b5b8cbd784173209e 100644 (file)
@@ -39,7 +39,7 @@ extern int do_bootm (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[])
 {
        unsigned int *ptr = 0;
        int count = 0;