i2c: Add support for device alias names
[deliverable/linux.git] / include / media / v4l2-i2c-drv.h
index 9e4bab2769151fd51eed09d77bbbb52b2a76068d..7b6f06be795034d7ae64b385bfa9ef0eac4078c9 100644 (file)
@@ -30,7 +30,7 @@ struct v4l2_i2c_driver_data {
        const char * const name;
        int driverid;
        int (*command)(struct i2c_client *client, unsigned int cmd, void *arg);
-       int (*probe)(struct i2c_client *client);
+       int (*probe)(struct i2c_client *client, const struct i2c_device_id *id);
        int (*remove)(struct i2c_client *client);
        int (*suspend)(struct i2c_client *client, pm_message_t state);
        int (*resume)(struct i2c_client *client);
This page took 0.025218 seconds and 5 git commands to generate.