]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - examples/standalone/smc91111_eeprom.c
Make sure that argv[] argument pointers are not modified.
[karo-tx-uboot.git] / examples / standalone / smc91111_eeprom.c
index b91f34c3af0593095d262c84e8345ca9af6e925a..c98b0fc075630b936dcab85b11ec6f54b8847383 100644 (file)
@@ -48,7 +48,7 @@ void print_MAC (struct eth_device *dev);
 int read_eeprom_reg (struct eth_device *dev, int reg);
 void print_macaddr (struct eth_device *dev);
 
-int smc91111_eeprom (int argc, char *argv[])
+int smc91111_eeprom (int argc, char * const argv[])
 {
        int c, i, j, done, line, reg, value, start, what;
        char input[50];