diff options
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: | |||
187 | return -1; | 187 | return -1; |
188 | } | 188 | } |
189 | 189 | ||
190 | int i2c_write(int device, unsigned char *buf, int count) | 190 | int i2c_write(int device, const unsigned char *buf, int count) |
191 | { | 191 | { |
192 | int cnt = count; | 192 | int cnt = count; |
193 | int timeout = 5; | 193 | int timeout = 5; |