diff options
Diffstat (limited to 'firmware/export/i2c-pp.h')
-rw-r--r-- | firmware/export/i2c-pp.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/export/i2c-pp.h b/firmware/export/i2c-pp.h index 908db22554..e789c72d84 100644 --- a/firmware/export/i2c-pp.h +++ b/firmware/export/i2c-pp.h | |||
@@ -47,7 +47,8 @@ | |||
47 | 47 | ||
48 | /* To be used by drivers that need to do multiple i2c operations | 48 | /* To be used by drivers that need to do multiple i2c operations |
49 | atomically */ | 49 | atomically */ |
50 | extern struct spinlock i2c_spin; | 50 | void i2c_lock(void); |
51 | void i2c_unlock(void); | ||
51 | 52 | ||
52 | void i2c_init(void); | 53 | void i2c_init(void); |
53 | int i2c_readbyte(unsigned int dev_addr, int addr); | 54 | int i2c_readbyte(unsigned int dev_addr, int addr); |