V4L/DVB: tuner: remove obsolete v4l2-i2c-drv.h header

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
Hans Verkuil 2010-09-15 15:36:23 -03:00 committed by Mauro Carvalho Chehab
parent 8e71ff0a48
commit 02a2098adb

View file

@ -20,7 +20,6 @@
#include <media/tuner-types.h> #include <media/tuner-types.h>
#include <media/v4l2-device.h> #include <media/v4l2-device.h>
#include <media/v4l2-ioctl.h> #include <media/v4l2-ioctl.h>
#include <media/v4l2-i2c-drv.h>
#include "mt20xx.h" #include "mt20xx.h"
#include "tda8290.h" #include "tda8290.h"
#include "tea5761.h" #include "tea5761.h"
@ -1176,16 +1175,32 @@ static const struct i2c_device_id tuner_id[] = {
}; };
MODULE_DEVICE_TABLE(i2c, tuner_id); MODULE_DEVICE_TABLE(i2c, tuner_id);
static struct v4l2_i2c_driver_data v4l2_i2c_data = { static struct i2c_driver tuner_driver = {
.name = "tuner", .driver = {
.probe = tuner_probe, .owner = THIS_MODULE,
.remove = tuner_remove, .name = "tuner",
.command = tuner_command, },
.suspend = tuner_suspend, .probe = tuner_probe,
.resume = tuner_resume, .remove = tuner_remove,
.id_table = tuner_id, .command = tuner_command,
.suspend = tuner_suspend,
.resume = tuner_resume,
.id_table = tuner_id,
}; };
static __init int init_tuner(void)
{
return i2c_add_driver(&tuner_driver);
}
static __exit void exit_tuner(void)
{
i2c_del_driver(&tuner_driver);
}
module_init(init_tuner);
module_exit(exit_tuner);
/* /*
* Overrides for Emacs so that we follow Linus's tabbing style. * Overrides for Emacs so that we follow Linus's tabbing style.
* --------------------------------------------------------------------------- * ---------------------------------------------------------------------------