aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2010-09-15 14:40:07 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-10-20 23:06:03 -0400
commit5b9f80af0c2678e854725640a15b2c7a386ac185 (patch)
tree62db9d5843249b42ed655206b86b587000cf9908 /drivers/media/video
parentff6e5422e4a6db93e05c8d29c1db79540f1f1707 (diff)
V4L/DVB: tda7432: 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')
-rw-r--r--drivers/media/video/tda7432.c27
1 files changed, 21 insertions, 6 deletions
diff --git a/drivers/media/video/tda7432.c b/drivers/media/video/tda7432.c
index 80f1cee23fa5..3941f954daf4 100644
--- a/drivers/media/video/tda7432.c
+++ b/drivers/media/video/tda7432.c
@@ -36,7 +36,6 @@
36#include <media/v4l2-device.h> 36#include <media/v4l2-device.h>
37#include <media/v4l2-ioctl.h> 37#include <media/v4l2-ioctl.h>
38#include <media/i2c-addr.h> 38#include <media/i2c-addr.h>
39#include <media/v4l2-i2c-drv.h>
40 39
41#ifndef VIDEO_AUDIO_BALANCE 40#ifndef VIDEO_AUDIO_BALANCE
42# define VIDEO_AUDIO_BALANCE 32 41# define VIDEO_AUDIO_BALANCE 32
@@ -472,9 +471,25 @@ static const struct i2c_device_id tda7432_id[] = {
472}; 471};
473MODULE_DEVICE_TABLE(i2c, tda7432_id); 472MODULE_DEVICE_TABLE(i2c, tda7432_id);
474 473
475static struct v4l2_i2c_driver_data v4l2_i2c_data = { 474static struct i2c_driver tda7432_driver = {
476 .name = "tda7432", 475 .driver = {
477 .probe = tda7432_probe, 476 .owner = THIS_MODULE,
478 .remove = tda7432_remove, 477 .name = "tda7432",
479 .id_table = tda7432_id, 478 },
479 .probe = tda7432_probe,
480 .remove = tda7432_remove,
481 .id_table = tda7432_id,
480}; 482};
483
484static __init int init_tda7432(void)
485{
486 return i2c_add_driver(&tda7432_driver);
487}
488
489static __exit void exit_tda7432(void)
490{
491 i2c_del_driver(&tda7432_driver);
492}
493
494module_init(init_tda7432);
495module_exit(exit_tda7432);