]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - examples/standalone/smc911x_eeprom.c
Make sure that argv[] argument pointers are not modified.
[karo-tx-uboot.git] / examples / standalone / smc911x_eeprom.c
index 104047f5a51d1a01f58b22e81dde367d8f21f271..c51a05028a5e09ed03657fae9696000d55991c16 100644 (file)
@@ -313,7 +313,7 @@ static char *getline(void)
 /**
  *     smc911x_eeprom - our application's main() function
  */
-int smc911x_eeprom(int argc, char *argv[])
+int smc911x_eeprom(int argc, char * const argv[])
 {
        /* Avoid initializing on stack as gcc likes to call memset() */
        struct eth_device dev;