Make sure that argv[] argument pointers are not modified.
[oweals/u-boot.git] / board / amcc / taihu / update.c
index f9c31b3927b4eefd503d03edf200889a4b22184a..b87eac4a1b27976154f349500b986498d77b01b9 100644 (file)
@@ -98,7 +98,7 @@ static uchar buf_66[] =
        0x00
 };
 
-static int update_boot_eeprom(cmd_tbl_t* cmdtp, int flag, int argc, char *argv[])
+static int update_boot_eeprom(cmd_tbl_t* cmdtp, int flag, int argc, char * const argv[])
 {
        ulong len = 0x20;
        uchar chip = CONFIG_SYS_I2C_EEPROM_ADDR;