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.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/linux/i2c.h b/include/linux/i2c.h
index 4df12c7e69d7..cd2f75b742ec 100644
--- a/include/linux/i2c.h
+++ b/include/linux/i2c.h
@@ -104,8 +104,8 @@ extern s32 i2c_smbus_write_i2c_block_data(const struct i2c_client *client,
104/** 104/**
105 * struct i2c_driver - represent an I2C device driver 105 * struct i2c_driver - represent an I2C device driver
106 * @class: What kind of i2c device we instantiate (for detect) 106 * @class: What kind of i2c device we instantiate (for detect)
107 * @attach_adapter: Callback for bus addition (for legacy drivers) 107 * @attach_adapter: Callback for bus addition (deprecated)
108 * @detach_adapter: Callback for bus removal (for legacy drivers) 108 * @detach_adapter: Callback for bus removal (deprecated)
109 * @probe: Callback for device binding 109 * @probe: Callback for device binding
110 * @remove: Callback for device unbinding 110 * @remove: Callback for device unbinding
111 * @shutdown: Callback for device shutdown 111 * @shutdown: Callback for device shutdown
@@ -143,11 +143,11 @@ struct i2c_driver {
143 unsigned int class; 143 unsigned int class;
144 144
145 /* Notifies the driver that a new bus has appeared or is about to be 145 /* Notifies the driver that a new bus has appeared or is about to be
146 * removed. You should avoid using this if you can, it will probably 146 * removed. You should avoid using this, it will be removed in a
147 * be removed in a near future. 147 * near future.
148 */ 148 */
149 int (*attach_adapter)(struct i2c_adapter *); 149 int (*attach_adapter)(struct i2c_adapter *) __deprecated;
150 int (*detach_adapter)(struct i2c_adapter *); 150 int (*detach_adapter)(struct i2c_adapter *) __deprecated;
151 151
152 /* Standard driver model interfaces */ 152 /* Standard driver model interfaces */
153 int (*probe)(struct i2c_client *, const struct i2c_device_id *); 153 int (*probe)(struct i2c_client *, const struct i2c_device_id *);