]> git.sur5r.net Git - u-boot/blobdiff - cpu/ppc4xx/i2c.c
Cleanup for GCC-4.x
[u-boot] / cpu / ppc4xx / i2c.c
index 3a644a4cc4f106fea735a0a4c264bbb5135809df..be94b571ff20ba2f0ab7586237cd7d5769c58bc7 100644 (file)
@@ -428,7 +428,7 @@ int i2c_write (uchar chip, uint addr, int alen, uchar * buffer, int len)
  */
 uchar i2c_reg_read(uchar i2c_addr, uchar reg)
 {
-       char buf;
+       uchar buf;
 
        i2c_read(i2c_addr, reg, 1, &buf, 1);