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 37c14b08d61a..f7cd2f370c39 100644 --- a/include/linux/i2c.h +++ b/include/linux/i2c.h | |||
| @@ -155,7 +155,6 @@ struct i2c_driver { | |||
| 155 | * generic enough to hide second-sourcing and compatible revisions. | 155 | * generic enough to hide second-sourcing and compatible revisions. |
| 156 | * @adapter: manages the bus segment hosting this I2C device | 156 | * @adapter: manages the bus segment hosting this I2C device |
| 157 | * @driver: device's driver, hence pointer to access routines | 157 | * @driver: device's driver, hence pointer to access routines |
| 158 | * @usage_count: counts current number of users of this client | ||
| 159 | * @dev: Driver model device node for the slave. | 158 | * @dev: Driver model device node for the slave. |
| 160 | * @irq: indicates the IRQ generated by this device (if any) | 159 | * @irq: indicates the IRQ generated by this device (if any) |
| 161 | * @driver_name: Identifies new-style driver used with this device; also | 160 | * @driver_name: Identifies new-style driver used with this device; also |
| @@ -175,8 +174,6 @@ struct i2c_client { | |||
| 175 | char name[I2C_NAME_SIZE]; | 174 | char name[I2C_NAME_SIZE]; |
| 176 | struct i2c_adapter *adapter; /* the adapter we sit on */ | 175 | struct i2c_adapter *adapter; /* the adapter we sit on */ |
| 177 | struct i2c_driver *driver; /* and our access routines */ | 176 | struct i2c_driver *driver; /* and our access routines */ |
| 178 | int usage_count; /* How many accesses currently */ | ||
| 179 | /* to the client */ | ||
| 180 | struct device dev; /* the device structure */ | 177 | struct device dev; /* the device structure */ |
| 181 | int irq; /* irq issued by device (or -1) */ | 178 | int irq; /* irq issued by device (or -1) */ |
| 182 | char driver_name[KOBJ_NAME_LEN]; | 179 | char driver_name[KOBJ_NAME_LEN]; |
