aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/linux/i2c.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/i2c.h b/include/linux/i2c.h
index b3695f353f79..7c36d5188d39 100644
--- a/include/linux/i2c.h
+++ b/include/linux/i2c.h
@@ -69,7 +69,7 @@ extern s32 i2c_smbus_xfer (struct i2c_adapter * adapter, u16 addr,
69 union i2c_smbus_data * data); 69 union i2c_smbus_data * data);
70 70
71/* Now follow the 'nice' access routines. These also document the calling 71/* Now follow the 'nice' access routines. These also document the calling
72 conventions of smbus_access. */ 72 conventions of i2c_smbus_xfer. */
73 73
74extern s32 i2c_smbus_read_byte(struct i2c_client * client); 74extern s32 i2c_smbus_read_byte(struct i2c_client * client);
75extern s32 i2c_smbus_write_byte(struct i2c_client * client, u8 value); 75extern s32 i2c_smbus_write_byte(struct i2c_client * client, u8 value);
@@ -536,7 +536,7 @@ union i2c_smbus_data {
536 /* and one more for user-space compatibility */ 536 /* and one more for user-space compatibility */
537}; 537};
538 538
539/* smbus_access read or write markers */ 539/* i2c_smbus_xfer read or write markers */
540#define I2C_SMBUS_READ 1 540#define I2C_SMBUS_READ 1
541#define I2C_SMBUS_WRITE 0 541#define I2C_SMBUS_WRITE 0
542 542