aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2010-09-15 14:01:48 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-10-20 23:05:58 -0400
commit720d916e64a1bd70948b0a7e97ba0fff0e2f43d1 (patch)
tree6f30fac92a104ede341751225f04ff5747c633f8
parent51e868466d60e0aea1b5d1d822bf30fdcde24dd4 (diff)
V4L/DVB: saa717x: remove obsolete v4l2-i2c-drv.h header
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/media/video/saa717x.c27
1 files changed, 21 insertions, 6 deletions
diff --git a/drivers/media/video/saa717x.c b/drivers/media/video/saa717x.c
index 45f8bfc1342e..b6172c2c517e 100644
--- a/drivers/media/video/saa717x.c
+++ b/drivers/media/video/saa717x.c
@@ -39,7 +39,6 @@
39#include <linux/i2c.h> 39#include <linux/i2c.h>
40#include <media/v4l2-device.h> 40#include <media/v4l2-device.h>
41#include <media/v4l2-ctrls.h> 41#include <media/v4l2-ctrls.h>
42#include <media/v4l2-i2c-drv.h>
43 42
44MODULE_DESCRIPTION("Philips SAA717x audio/video decoder driver"); 43MODULE_DESCRIPTION("Philips SAA717x audio/video decoder driver");
45MODULE_AUTHOR("K. Ohta, T. Adachi, Hans Verkuil"); 44MODULE_AUTHOR("K. Ohta, T. Adachi, Hans Verkuil");
@@ -1366,9 +1365,25 @@ static const struct i2c_device_id saa717x_id[] = {
1366}; 1365};
1367MODULE_DEVICE_TABLE(i2c, saa717x_id); 1366MODULE_DEVICE_TABLE(i2c, saa717x_id);
1368 1367
1369static struct v4l2_i2c_driver_data v4l2_i2c_data = { 1368static struct i2c_driver saa717x_driver = {
1370 .name = "saa717x", 1369 .driver = {
1371 .probe = saa717x_probe, 1370 .owner = THIS_MODULE,
1372 .remove = saa717x_remove, 1371 .name = "saa717x",
1373 .id_table = saa717x_id, 1372 },
1373 .probe = saa717x_probe,
1374 .remove = saa717x_remove,
1375 .id_table = saa717x_id,
1374}; 1376};
1377
1378static __init int init_saa717x(void)
1379{
1380 return i2c_add_driver(&saa717x_driver);
1381}
1382
1383static __exit void exit_saa717x(void)
1384{
1385 i2c_del_driver(&saa717x_driver);
1386}
1387
1388module_init(init_saa717x);
1389module_exit(exit_saa717x);