diff options
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/i2c.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/i2c.h b/include/linux/i2c.h index 99399fadf13f..3c16a8fb95f4 100644 --- a/include/linux/i2c.h +++ b/include/linux/i2c.h | |||
@@ -112,7 +112,6 @@ struct i2c_driver { | |||
112 | char name[32]; | 112 | char name[32]; |
113 | int id; | 113 | int id; |
114 | unsigned int class; | 114 | unsigned int class; |
115 | unsigned int flags; /* div., see below */ | ||
116 | 115 | ||
117 | /* Notifies the driver that a new bus has appeared. This routine | 116 | /* Notifies the driver that a new bus has appeared. This routine |
118 | * can be used by the driver to test if the bus meets its conditions | 117 | * can be used by the driver to test if the bus meets its conditions |
@@ -250,8 +249,6 @@ static inline void i2c_set_adapdata (struct i2c_adapter *dev, void *data) | |||
250 | dev_set_drvdata (&dev->dev, data); | 249 | dev_set_drvdata (&dev->dev, data); |
251 | } | 250 | } |
252 | 251 | ||
253 | /*flags for the driver struct: */ | ||
254 | |||
255 | /*flags for the client struct: */ | 252 | /*flags for the client struct: */ |
256 | #define I2C_CLIENT_ALLOW_USE 0x01 /* Client allows access */ | 253 | #define I2C_CLIENT_ALLOW_USE 0x01 /* Client allows access */ |
257 | #define I2C_CLIENT_ALLOW_MULTIPLE_USE 0x02 /* Allow multiple access-locks */ | 254 | #define I2C_CLIENT_ALLOW_MULTIPLE_USE 0x02 /* Allow multiple access-locks */ |