]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/sandburst/common/ppc440gx_i2c.c
Make sure that argv[] argument pointers are not modified.
[karo-tx-uboot.git] / board / sandburst / common / ppc440gx_i2c.c
index d286714919a44c6a5e330c2d4bbf39948bff15c5..68acdd8d14d2222b11ddf3a5df0f63dfa309b44b 100644 (file)
@@ -465,7 +465,7 @@ void i2c_reg_write1(uchar i2c_addr, uchar reg, uchar val)
 }
 
 
-int do_i2c1_probe(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
+int do_i2c1_probe(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 {
        int j;
 #if defined(CONFIG_SYS_I2C_NOPROBES)