]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/cmd_dtt.c
Make sure that argv[] argument pointers are not modified.
[karo-tx-uboot.git] / common / cmd_dtt.c
index 3cfd36ef7389bf8f2c5cfad5feea95e41d95762c..3388e43ca046acd6ef92cac03ce41f6715135aa4 100644 (file)
@@ -28,7 +28,7 @@
 #include <dtt.h>
 #include <i2c.h>
 
-int do_dtt (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
+int do_dtt (cmd_tbl_t * cmdtp, int flag, int argc, char * const argv[])
 {
        int i;
        unsigned char sensors[] = CONFIG_DTT_SENSORS;