diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2010-09-15 14:33:43 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-10-20 23:06:02 -0400 |
commit | 8e71ff0a48e22e06dfedffb6386cb5e519810013 (patch) | |
tree | 79c7d4f2ee3f81a129d8503f2c883a3afda15816 /drivers/media/video/tlv320aic23b.c | |
parent | 3f4172007aaa9fb717f7b7db8edf4b9d73aa4e7f (diff) |
V4L/DVB: tlv320aic23b: 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/tlv320aic23b.c')
-rw-r--r-- | drivers/media/video/tlv320aic23b.c | 28 |
1 files changed, 21 insertions, 7 deletions
diff --git a/drivers/media/video/tlv320aic23b.c b/drivers/media/video/tlv320aic23b.c index 9ddb32bc7af0..dfc4dd7c5097 100644 --- a/drivers/media/video/tlv320aic23b.c +++ b/drivers/media/video/tlv320aic23b.c | |||
@@ -29,10 +29,8 @@ | |||
29 | #include <linux/ioctl.h> | 29 | #include <linux/ioctl.h> |
30 | #include <asm/uaccess.h> | 30 | #include <asm/uaccess.h> |
31 | #include <linux/i2c.h> | 31 | #include <linux/i2c.h> |
32 | #include <linux/i2c-id.h> | ||
33 | #include <linux/videodev2.h> | 32 | #include <linux/videodev2.h> |
34 | #include <media/v4l2-device.h> | 33 | #include <media/v4l2-device.h> |
35 | #include <media/v4l2-i2c-drv.h> | ||
36 | 34 | ||
37 | MODULE_DESCRIPTION("tlv320aic23b driver"); | 35 | MODULE_DESCRIPTION("tlv320aic23b driver"); |
38 | MODULE_AUTHOR("Scott Alfter, Ulf Eklund, Hans Verkuil"); | 36 | MODULE_AUTHOR("Scott Alfter, Ulf Eklund, Hans Verkuil"); |
@@ -199,9 +197,25 @@ static const struct i2c_device_id tlv320aic23b_id[] = { | |||
199 | }; | 197 | }; |
200 | MODULE_DEVICE_TABLE(i2c, tlv320aic23b_id); | 198 | MODULE_DEVICE_TABLE(i2c, tlv320aic23b_id); |
201 | 199 | ||
202 | static struct v4l2_i2c_driver_data v4l2_i2c_data = { | 200 | static struct i2c_driver tlv320aic23b_driver = { |
203 | .name = "tlv320aic23b", | 201 | .driver = { |
204 | .probe = tlv320aic23b_probe, | 202 | .owner = THIS_MODULE, |
205 | .remove = tlv320aic23b_remove, | 203 | .name = "tlv320aic23b", |
206 | .id_table = tlv320aic23b_id, | 204 | }, |
205 | .probe = tlv320aic23b_probe, | ||
206 | .remove = tlv320aic23b_remove, | ||
207 | .id_table = tlv320aic23b_id, | ||
207 | }; | 208 | }; |
209 | |||
210 | static __init int init_tlv320aic23b(void) | ||
211 | { | ||
212 | return i2c_add_driver(&tlv320aic23b_driver); | ||
213 | } | ||
214 | |||
215 | static __exit void exit_tlv320aic23b(void) | ||
216 | { | ||
217 | i2c_del_driver(&tlv320aic23b_driver); | ||
218 | } | ||
219 | |||
220 | module_init(init_tlv320aic23b); | ||
221 | module_exit(exit_tlv320aic23b); | ||