X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=cpu%2Fpxa%2Fi2c.c;h=92dd19f95f22f0b703c343761a1d5ae94600cb8b;hb=27c38689d0cfde0e444239345f97b5eecc9f4067;hp=722d949473f5a81bc3796bf682306665d48303f9;hpb=2770bcb21c82835a5351176e5b2a9221d7fc8ef9;p=oweals%2Fu-boot.git diff --git a/cpu/pxa/i2c.c b/cpu/pxa/i2c.c index 722d949473..92dd19f95f 100644 --- a/cpu/pxa/i2c.c +++ b/cpu/pxa/i2c.c @@ -457,7 +457,7 @@ int i2c_write(uchar chip, uint addr, int alen, uchar *buffer, int len) uchar i2c_reg_read (uchar chip, uchar reg) { - char buf; + uchar buf; PRINTD(("i2c_reg_read(chip=0x%02x, reg=0x%02x)\n",chip,reg)); i2c_read(chip, reg, 1, &buf, 1);