diff options
author | Boris Gjenero <dreamlayers@rockbox.org> | 2011-12-21 18:08:26 +0000 |
---|---|---|
committer | Boris Gjenero <dreamlayers@rockbox.org> | 2011-12-21 18:08:26 +0000 |
commit | b4ffcb5224a4dc8898cec9b1b9f8b413f540f36d (patch) | |
tree | 314d8699c5d65b6754a76ac3cea1e035b4e44c48 /firmware/target/mips/ingenic_jz47xx | |
parent | 6c97145e7d28d380bf2a7952604c84c4c5721f51 (diff) |
Fix red.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31397 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/mips/ingenic_jz47xx')
-rw-r--r-- | firmware/target/mips/ingenic_jz47xx/i2c-jz4740.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/mips/ingenic_jz47xx/i2c-jz4740.c b/firmware/target/mips/ingenic_jz47xx/i2c-jz4740.c index 1cdcb639bc..dadea65599 100644 --- a/firmware/target/mips/ingenic_jz47xx/i2c-jz4740.c +++ b/firmware/target/mips/ingenic_jz47xx/i2c-jz4740.c @@ -187,7 +187,7 @@ L_timeout: return -1; } -int i2c_write(int device, unsigned char *buf, int count) +int i2c_write(int device, const unsigned char *buf, int count) { int cnt = count; int timeout = 5; |