diff options
Diffstat (limited to 'include/linux/i2c.h')
-rw-r--r-- | include/linux/i2c.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/i2c.h b/include/linux/i2c.h index a556db976fc6..9d9d379b5a15 100644 --- a/include/linux/i2c.h +++ b/include/linux/i2c.h | |||
@@ -768,6 +768,9 @@ static inline u8 i2c_8bit_addr_from_msg(const struct i2c_msg *msg) | |||
768 | return (msg->addr << 1) | (msg->flags & I2C_M_RD ? 1 : 0); | 768 | return (msg->addr << 1) | (msg->flags & I2C_M_RD ? 1 : 0); |
769 | } | 769 | } |
770 | 770 | ||
771 | u8 *i2c_get_dma_safe_msg_buf(struct i2c_msg *msg, unsigned int threshold); | ||
772 | void i2c_release_dma_safe_msg_buf(struct i2c_msg *msg, u8 *buf); | ||
773 | |||
771 | int i2c_handle_smbus_host_notify(struct i2c_adapter *adap, unsigned short addr); | 774 | int i2c_handle_smbus_host_notify(struct i2c_adapter *adap, unsigned short addr); |
772 | /** | 775 | /** |
773 | * module_i2c_driver() - Helper macro for registering a modular I2C driver | 776 | * module_i2c_driver() - Helper macro for registering a modular I2C driver |