X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=cpu%2Fmpc85xx%2Fi2c.c;h=32dcf5d47e507d447f352ad1914779ac2380d1f5;hb=ffff3ae56f5842ca3679e4ce7922b819a87aad9f;hp=2d0848799584164a7468948e1fc94ae9af541218;hpb=c65fdc74aa2c8ce6f7e500bb5dbf95425270adb9;p=oweals%2Fu-boot.git diff --git a/cpu/mpc85xx/i2c.c b/cpu/mpc85xx/i2c.c index 2d08487995..32dcf5d47e 100644 --- a/cpu/mpc85xx/i2c.c +++ b/cpu/mpc85xx/i2c.c @@ -245,12 +245,12 @@ int i2c_probe (uchar chip) * and looking for an 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);