]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/w7o/cmd_vpd.c
Make sure that argv[] argument pointers are not modified.
[karo-tx-uboot.git] / board / w7o / cmd_vpd.c
index 013fc791f2764057e25aa1da8d2c641d669e6788..44d40eed287e1158cdb5e52bc1cfcaa4359e97ca 100644 (file)
@@ -32,7 +32,7 @@
  * Interpreter command to retrieve board specific Vital Product Data, "VPD"
  * ======================================================================
  */
-int do_vpd (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
+int do_vpd (cmd_tbl_t * cmdtp, int flag, int argc, char * const argv[])
 {
        VPD vpd;                        /* Board specific data struct */
        uchar dev_addr = CONFIG_SYS_DEF_EEPROM_ADDR;