diff options
Diffstat (limited to 'drivers/media/video/tda9887.c')
-rw-r--r-- | drivers/media/video/tda9887.c | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/drivers/media/video/tda9887.c b/drivers/media/video/tda9887.c index 4249127c0a1d..7165a1b9625a 100644 --- a/drivers/media/video/tda9887.c +++ b/drivers/media/video/tda9887.c | |||
@@ -12,6 +12,7 @@ | |||
12 | #include <media/audiochip.h> | 12 | #include <media/audiochip.h> |
13 | #include <media/tuner.h> | 13 | #include <media/tuner.h> |
14 | 14 | ||
15 | |||
15 | /* Chips: | 16 | /* Chips: |
16 | TDA9885 (PAL, NTSC) | 17 | TDA9885 (PAL, NTSC) |
17 | TDA9886 (PAL, SECAM, NTSC) | 18 | TDA9886 (PAL, SECAM, NTSC) |
@@ -818,14 +819,12 @@ static int tda9887_resume(struct device * dev) | |||
818 | /* ----------------------------------------------------------------------- */ | 819 | /* ----------------------------------------------------------------------- */ |
819 | 820 | ||
820 | static struct i2c_driver driver = { | 821 | static struct i2c_driver driver = { |
821 | .owner = THIS_MODULE, | 822 | .id = -1, /* FIXME */ |
822 | .name = "i2c tda9887 driver", | 823 | .attach_adapter = tda9887_probe, |
823 | .id = -1, /* FIXME */ | 824 | .detach_client = tda9887_detach, |
824 | .flags = I2C_DF_NOTIFY, | 825 | .command = tda9887_command, |
825 | .attach_adapter = tda9887_probe, | ||
826 | .detach_client = tda9887_detach, | ||
827 | .command = tda9887_command, | ||
828 | .driver = { | 826 | .driver = { |
827 | .name = "i2c tda9887 driver", | ||
829 | .suspend = tda9887_suspend, | 828 | .suspend = tda9887_suspend, |
830 | .resume = tda9887_resume, | 829 | .resume = tda9887_resume, |
831 | }, | 830 | }, |
@@ -833,8 +832,7 @@ static struct i2c_driver driver = { | |||
833 | static struct i2c_client client_template = | 832 | static struct i2c_client client_template = |
834 | { | 833 | { |
835 | .name = "tda9887", | 834 | .name = "tda9887", |
836 | .flags = I2C_CLIENT_ALLOW_USE, | 835 | .driver = &driver, |
837 | .driver = &driver, | ||
838 | }; | 836 | }; |
839 | 837 | ||
840 | static int __init tda9887_init_module(void) | 838 | static int __init tda9887_init_module(void) |