diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2010-09-15 14:44:11 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-10-20 23:06:03 -0400 |
commit | c2d999f3161e398dff3dc801629e5c0acecb9785 (patch) | |
tree | 3f918d9740d896ce63f61f66120c4035b2738645 /drivers/media/video/vpx3220.c | |
parent | 50337aceff0f9e2952f67c5945215d884c023d68 (diff) |
V4L/DVB: vpx3220: remove obsolete v4l2-i2c-drv.h header
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/vpx3220.c')
-rw-r--r-- | drivers/media/video/vpx3220.c | 27 |
1 files changed, 21 insertions, 6 deletions
diff --git a/drivers/media/video/vpx3220.c b/drivers/media/video/vpx3220.c index 77ebcea7c3da..91a01b3cdf8c 100644 --- a/drivers/media/video/vpx3220.c +++ b/drivers/media/video/vpx3220.c | |||
@@ -28,7 +28,6 @@ | |||
28 | #include <linux/videodev2.h> | 28 | #include <linux/videodev2.h> |
29 | #include <media/v4l2-device.h> | 29 | #include <media/v4l2-device.h> |
30 | #include <media/v4l2-chip-ident.h> | 30 | #include <media/v4l2-chip-ident.h> |
31 | #include <media/v4l2-i2c-drv.h> | ||
32 | 31 | ||
33 | MODULE_DESCRIPTION("vpx3220a/vpx3216b/vpx3214c video decoder driver"); | 32 | MODULE_DESCRIPTION("vpx3220a/vpx3216b/vpx3214c video decoder driver"); |
34 | MODULE_AUTHOR("Laurent Pinchart"); | 33 | MODULE_AUTHOR("Laurent Pinchart"); |
@@ -614,9 +613,25 @@ static const struct i2c_device_id vpx3220_id[] = { | |||
614 | }; | 613 | }; |
615 | MODULE_DEVICE_TABLE(i2c, vpx3220_id); | 614 | MODULE_DEVICE_TABLE(i2c, vpx3220_id); |
616 | 615 | ||
617 | static struct v4l2_i2c_driver_data v4l2_i2c_data = { | 616 | static struct i2c_driver vpx3220_driver = { |
618 | .name = "vpx3220", | 617 | .driver = { |
619 | .probe = vpx3220_probe, | 618 | .owner = THIS_MODULE, |
620 | .remove = vpx3220_remove, | 619 | .name = "vpx3220", |
621 | .id_table = vpx3220_id, | 620 | }, |
621 | .probe = vpx3220_probe, | ||
622 | .remove = vpx3220_remove, | ||
623 | .id_table = vpx3220_id, | ||
622 | }; | 624 | }; |
625 | |||
626 | static __init int init_vpx3220(void) | ||
627 | { | ||
628 | return i2c_add_driver(&vpx3220_driver); | ||
629 | } | ||
630 | |||
631 | static __exit void exit_vpx3220(void) | ||
632 | { | ||
633 | i2c_del_driver(&vpx3220_driver); | ||
634 | } | ||
635 | |||
636 | module_init(init_vpx3220); | ||
637 | module_exit(exit_vpx3220); | ||