projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'master' of /home/wd/git/u-boot/custodians
[oweals/u-boot.git]
/
cpu
/
arm920t
/
at91rm9200
/
i2c.c
diff --git
a/cpu/arm920t/at91rm9200/i2c.c
b/cpu/arm920t/at91rm9200/i2c.c
index 2565998e484d7ed0f70a1ad2ee7ce762220990dd..826cea8e2641a7a6dc832bc955943cc403b3558f 100644
(file)
--- a/
cpu/arm920t/at91rm9200/i2c.c
+++ b/
cpu/arm920t/at91rm9200/i2c.c
@@
-111,7
+111,7
@@
at91_xfer(unsigned char chip, unsigned int addr, int alen,
int
i2c_probe(unsigned char chip)
{
- char buffer[1];
+
unsigned
char buffer[1];
return at91_xfer(chip, 0, 0, buffer, 1, 1);
}
@@
-191,7
+191,7
@@
i2c_init(int speed, int slaveaddr)
uchar i2c_reg_read(uchar i2c_addr, uchar reg)
{
- char buf;
+
unsigned
char buf;
i2c_read(i2c_addr, reg, 1, &buf, 1);