Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 142449
b: refs/heads/master
c: 0c84674
h: refs/heads/master
i:
  142447: 6d90a18
v: v3
  • Loading branch information
Hans Verkuil authored and Mauro Carvalho Chehab committed Apr 7, 2009
1 parent 4411b72 commit e61d6fa
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f41737ece472cd803ffb24ac9f5d6fdd1d871341
refs/heads/master: 0c84674353a8c344d169aabce4dc4d44daaa270d
1 change: 0 additions & 1 deletion trunk/drivers/media/video/saa7115.c
Original file line number Diff line number Diff line change
Expand Up @@ -1667,6 +1667,5 @@ static struct v4l2_i2c_driver_data v4l2_i2c_data = {
.name = "saa7115",
.probe = saa711x_probe,
.remove = saa711x_remove,
.legacy_class = I2C_CLASS_TV_ANALOG | I2C_CLASS_TV_DIGITAL,
.id_table = saa7115_id,
};
2 changes: 1 addition & 1 deletion trunk/drivers/media/video/tuner-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1020,7 +1020,7 @@ static void tuner_lookup(struct i2c_adapter *adap,
int mode_mask;

if (pos->i2c->adapter != adap ||
pos->i2c->driver->id != I2C_DRIVERID_TUNER)
strcmp(pos->i2c->driver->driver.name, "tuner"))
continue;

mode_mask = pos->mode_mask & ~T_STANDBY;
Expand Down
4 changes: 0 additions & 4 deletions trunk/include/media/v4l2-i2c-drv.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,11 @@

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, 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);
int (*legacy_probe)(struct i2c_adapter *adapter);
int legacy_class;
const struct i2c_device_id *id_table;
};

Expand All @@ -59,7 +56,6 @@ static struct i2c_driver v4l2_i2c_driver;
static int __init v4l2_i2c_drv_init(void)
{
v4l2_i2c_driver.driver.name = v4l2_i2c_data.name;
v4l2_i2c_driver.id = v4l2_i2c_data.driverid;
v4l2_i2c_driver.command = v4l2_i2c_data.command;
v4l2_i2c_driver.probe = v4l2_i2c_data.probe;
v4l2_i2c_driver.remove = v4l2_i2c_data.remove;
Expand Down

0 comments on commit e61d6fa

Please sign in to comment.