aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx25840
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2010-09-15 14:48:49 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-10-20 23:06:04 -0400
commitad62cdfe396a7f51b200db8c85e75805028889a0 (patch)
treea2dc76ce7c08be93f506025d611ff7db7cb5760b /drivers/media/video/cx25840
parent96209a202aeb2496e7c67bb6ab1db2b0d6b73768 (diff)
V4L/DVB: cx25840: 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/cx25840')
-rw-r--r--drivers/media/video/cx25840/cx25840-core.c27
1 files changed, 21 insertions, 6 deletions
diff --git a/drivers/media/video/cx25840/cx25840-core.c b/drivers/media/video/cx25840/cx25840-core.c
index f5a3e74c3c7c..f26f9da24c8c 100644
--- a/drivers/media/video/cx25840/cx25840-core.c
+++ b/drivers/media/video/cx25840/cx25840-core.c
@@ -42,7 +42,6 @@
42#include <linux/delay.h> 42#include <linux/delay.h>
43#include <media/v4l2-common.h> 43#include <media/v4l2-common.h>
44#include <media/v4l2-chip-ident.h> 44#include <media/v4l2-chip-ident.h>
45#include <media/v4l2-i2c-drv.h>
46#include <media/cx25840.h> 45#include <media/cx25840.h>
47 46
48#include "cx25840-core.h" 47#include "cx25840-core.h"
@@ -2043,9 +2042,25 @@ static const struct i2c_device_id cx25840_id[] = {
2043}; 2042};
2044MODULE_DEVICE_TABLE(i2c, cx25840_id); 2043MODULE_DEVICE_TABLE(i2c, cx25840_id);
2045 2044
2046static struct v4l2_i2c_driver_data v4l2_i2c_data = { 2045static struct i2c_driver cx25840_driver = {
2047 .name = "cx25840", 2046 .driver = {
2048 .probe = cx25840_probe, 2047 .owner = THIS_MODULE,
2049 .remove = cx25840_remove, 2048 .name = "cx25840",
2050 .id_table = cx25840_id, 2049 },
2050 .probe = cx25840_probe,
2051 .remove = cx25840_remove,
2052 .id_table = cx25840_id,
2051}; 2053};
2054
2055static __init int init_cx25840(void)
2056{
2057 return i2c_add_driver(&cx25840_driver);
2058}
2059
2060static __exit void exit_cx25840(void)
2061{
2062 i2c_del_driver(&cx25840_driver);
2063}
2064
2065module_init(init_cx25840);
2066module_exit(exit_cx25840);