]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - cpu/mpc83xx/i2c.c
Merge with /home/m8/git/u-boot
[people/ms/u-boot.git] / cpu / mpc83xx / i2c.c
index 7ccb8a960999b2c859963acd42f04acb14bc57f8..4e70f808a4d2e8dfe9dff69d40c3d2cc9a848286 100644 (file)
@@ -233,12 +233,12 @@ int i2c_probe (uchar chip)
         * and looking for an <ACK> back.
         */
        udelay(10000);
-       return i2c_read (chip, 0, 1, (char *)&tmp, 1);
+       return i2c_read (chip, 0, 1, (uchar *)&tmp, 1);
 }
 
 uchar i2c_reg_read (uchar i2c_addr, uchar reg)
 {
-       char buf[1];
+       uchar buf[1];
 
        i2c_read (i2c_addr, reg, 1, buf, 1);