projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
pxa: fix previous definition on cpu init
[oweals/u-boot.git]
/
cpu
/
pxa
/
i2c.c
diff --git
a/cpu/pxa/i2c.c
b/cpu/pxa/i2c.c
index 722d949473f5a81bc3796bf682306665d48303f9..92dd19f95f22f0b703c343761a1d5ae94600cb8b 100644
(file)
--- 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)
{
uchar i2c_reg_read (uchar chip, uchar reg)
{
- char buf;
+
u
char buf;
PRINTD(("i2c_reg_read(chip=0x%02x, reg=0x%02x)\n",chip,reg));
i2c_read(chip, reg, 1, &buf, 1);
PRINTD(("i2c_reg_read(chip=0x%02x, reg=0x%02x)\n",chip,reg));
i2c_read(chip, reg, 1, &buf, 1);