aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/tvp5150.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/tvp5150.c')
-rw-r--r--drivers/media/video/tvp5150.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/media/video/tvp5150.c b/drivers/media/video/tvp5150.c
index 97431e26d229..a60442ea4f94 100644
--- a/drivers/media/video/tvp5150.c
+++ b/drivers/media/video/tvp5150.c
@@ -714,7 +714,6 @@ static struct i2c_driver driver;
714 714
715static struct i2c_client client_template = { 715static struct i2c_client client_template = {
716 .name = "(unset)", 716 .name = "(unset)",
717 .flags = I2C_CLIENT_ALLOW_USE,
718 .driver = &driver, 717 .driver = &driver,
719}; 718};
720 719
@@ -801,12 +800,12 @@ static int tvp5150_detach_client(struct i2c_client *client)
801/* ----------------------------------------------------------------------- */ 800/* ----------------------------------------------------------------------- */
802 801
803static struct i2c_driver driver = { 802static struct i2c_driver driver = {
804 .owner = THIS_MODULE, 803 .driver = {
805 .name = "tvp5150", 804 .name = "tvp5150",
805 },
806 806
807 /* FIXME */ 807 /* FIXME */
808 .id = I2C_DRIVERID_SAA7110, 808 .id = I2C_DRIVERID_SAA7110,
809 .flags = I2C_DF_NOTIFY,
810 809
811 .attach_adapter = tvp5150_attach_adapter, 810 .attach_adapter = tvp5150_attach_adapter,
812 .detach_client = tvp5150_detach_client, 811 .detach_client = tvp5150_detach_client,