aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/i2c.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/i2c.h')
-rw-r--r--include/linux/i2c.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/linux/i2c.h b/include/linux/i2c.h
index 2a32f2fd940d..e4793feac2bb 100644
--- a/include/linux/i2c.h
+++ b/include/linux/i2c.h
@@ -342,9 +342,10 @@ static inline void i2c_set_adapdata (struct i2c_adapter *dev, void *data)
342} 342}
343 343
344/*flags for the client struct: */ 344/*flags for the client struct: */
345#define I2C_CLIENT_PEC 0x04 /* Use Packet Error Checking */ 345#define I2C_CLIENT_PEC 0x04 /* Use Packet Error Checking */
346#define I2C_CLIENT_TEN 0x10 /* we have a ten bit chip address */ 346#define I2C_CLIENT_TEN 0x10 /* we have a ten bit chip address */
347 /* Must equal I2C_M_TEN below */ 347 /* Must equal I2C_M_TEN below */
348#define I2C_CLIENT_WAKE 0x80 /* for board_info; true iff can wake */
348 349
349/* i2c adapter classes (bitmask) */ 350/* i2c adapter classes (bitmask) */
350#define I2C_CLASS_HWMON (1<<0) /* lm_sensors, ... */ 351#define I2C_CLASS_HWMON (1<<0) /* lm_sensors, ... */