]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/cmd_spi.c
Make sure that argv[] argument pointers are not modified.
[karo-tx-uboot.git] / common / cmd_spi.c
index ab7aac780dbd85999ccf8cc65d01c226e7de247b..bafa217d039d6ce5a1d58e42220d20379d47c728 100644 (file)
@@ -63,7 +63,7 @@ static uchar          din[MAX_SPI_BYTES];
  * The command prints out the hexadecimal string received via SPI.
  */
 
-int do_spi (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
+int do_spi (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 {
        struct spi_slave *slave;
        char  *cp = 0;