diff options
Diffstat (limited to 'drivers/media/video/tda9887.c')
-rw-r--r-- | drivers/media/video/tda9887.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/media/video/tda9887.c b/drivers/media/video/tda9887.c index 2f2414e90e8b..7165a1b9625a 100644 --- a/drivers/media/video/tda9887.c +++ b/drivers/media/video/tda9887.c | |||
@@ -819,14 +819,12 @@ static int tda9887_resume(struct device * dev) | |||
819 | /* ----------------------------------------------------------------------- */ | 819 | /* ----------------------------------------------------------------------- */ |
820 | 820 | ||
821 | static struct i2c_driver driver = { | 821 | static struct i2c_driver driver = { |
822 | .owner = THIS_MODULE, | ||
823 | .name = "i2c tda9887 driver", | ||
824 | .id = -1, /* FIXME */ | 822 | .id = -1, /* FIXME */ |
825 | .flags = I2C_DF_NOTIFY, | ||
826 | .attach_adapter = tda9887_probe, | 823 | .attach_adapter = tda9887_probe, |
827 | .detach_client = tda9887_detach, | 824 | .detach_client = tda9887_detach, |
828 | .command = tda9887_command, | 825 | .command = tda9887_command, |
829 | .driver = { | 826 | .driver = { |
827 | .name = "i2c tda9887 driver", | ||
830 | .suspend = tda9887_suspend, | 828 | .suspend = tda9887_suspend, |
831 | .resume = tda9887_resume, | 829 | .resume = tda9887_resume, |
832 | }, | 830 | }, |
@@ -834,7 +832,6 @@ static struct i2c_driver driver = { | |||
834 | static struct i2c_client client_template = | 832 | static struct i2c_client client_template = |
835 | { | 833 | { |
836 | .name = "tda9887", | 834 | .name = "tda9887", |
837 | .flags = I2C_CLIENT_ALLOW_USE, | ||
838 | .driver = &driver, | 835 | .driver = &driver, |
839 | }; | 836 | }; |
840 | 837 | ||