summaryrefslogtreecommitdiff
path: root/cpu/pxa/i2c.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2007-11-18 17:11:09 +0100
committerWolfgang Denk <wd@denx.de>2007-11-18 17:11:09 +0100
commit8412d814ce8bf5570a2b747f1e7fd321097fe987 (patch)
tree27f1467772c675242af737a8481ec75f81b0d2d9 /cpu/pxa/i2c.c
parent409ecdc0bb47dd28b0af6c25ffd658d22cc36b37 (diff)
downloadu-boot-imx-8412d814ce8bf5570a2b747f1e7fd321097fe987.zip
u-boot-imx-8412d814ce8bf5570a2b747f1e7fd321097fe987.tar.gz
u-boot-imx-8412d814ce8bf5570a2b747f1e7fd321097fe987.tar.bz2
Fix compiler warnings for ARM systems.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'cpu/pxa/i2c.c')
-rw-r--r--cpu/pxa/i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/pxa/i2c.c b/cpu/pxa/i2c.c
index 722d949..92dd19f 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);