summaryrefslogtreecommitdiff
path: root/drivers/tsi108_i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/tsi108_i2c.c')
-rw-r--r--drivers/tsi108_i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tsi108_i2c.c b/drivers/tsi108_i2c.c
index 3a3b75c..d6736b0 100644
--- a/drivers/tsi108_i2c.c
+++ b/drivers/tsi108_i2c.c
@@ -276,7 +276,7 @@ int i2c_probe (uchar chip)
* The Tsi108 HW doesn't support sending just the chip address
* and checkong for an <ACK> back.
*/
- return i2c_read (chip, 0, 1, (char *)&tmp, 1);
+ return i2c_read (chip, 0, 1, (uchar *)&tmp, 1);
}
#endif