]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - post/drivers/i2c.c
post/drivers/i2c.c: fix compile error
[people/ms/u-boot.git] / post / drivers / i2c.c
index 3080e81b5bf38434946285d54df62bdf58c12ee2..4a1b1a49d17bd481e401070ad44b78d69779638b 100644 (file)
@@ -74,7 +74,7 @@ int i2c_post_test (int flags)
 #else
        unsigned int ret  = 0;
        int j;
-       const unsigned char i2c_addr_list[] = CONFIG_SYS_POST_I2C_ADDRS;
+       unsigned char i2c_addr_list[] = CONFIG_SYS_POST_I2C_ADDRS;
 
        /* Start at address 1, address 0 is the general call address */
        for (i = 1; i < 128; i++) {