summaryrefslogtreecommitdiff
path: root/src/include/device/i2c.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/device/i2c.h')
-rw-r--r--src/include/device/i2c.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/device/i2c.h b/src/include/device/i2c.h
index 6316748b85..b3a5ccadd5 100644
--- a/src/include/device/i2c.h
+++ b/src/include/device/i2c.h
@@ -100,7 +100,7 @@ static inline int i2c_read_raw(unsigned int bus, uint8_t chip, uint8_t *data,
* [start][slave addr][w][data][stop]
*/
static inline int i2c_write_raw(unsigned int bus, uint8_t chip, uint8_t *data,
- int len)
+ int len)
{
struct i2c_seg seg =
{ .read = 0, .chip = chip, .buf = data, .len = len };