diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2007-12-08 05:43:14 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-01-25 16:03:24 -0500 |
commit | 2a2bfbff3d867c62a49f43266ca993c9c2c2ff28 (patch) | |
tree | e663c97371f8c50b9ef56c8544d024d79c6942d5 | |
parent | d9009201207c4bdce9b95a0bd903b3f087e8eda1 (diff) |
V4L/DVB (6766): ivtv: remove i2c legacy support from drivers that no longer need it
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rw-r--r-- | drivers/media/video/m52790.c | 4 | ||||
-rw-r--r-- | drivers/media/video/saa7127.c | 4 | ||||
-rw-r--r-- | drivers/media/video/upd64031a.c | 4 | ||||
-rw-r--r-- | drivers/media/video/upd64083.c | 4 | ||||
-rw-r--r-- | drivers/media/video/vp27smpx.c | 4 | ||||
-rw-r--r-- | drivers/media/video/wm8739.c | 3 | ||||
-rw-r--r-- | include/media/v4l2-i2c-drv.h | 1 |
7 files changed, 0 insertions, 24 deletions
diff --git a/drivers/media/video/m52790.c b/drivers/media/video/m52790.c index 51ecbfbc1ae7..4d2a52204ad4 100644 --- a/drivers/media/video/m52790.c +++ b/drivers/media/video/m52790.c | |||
@@ -36,10 +36,6 @@ MODULE_DESCRIPTION("i2c device driver for m52790 A/V switch"); | |||
36 | MODULE_AUTHOR("Hans Verkuil"); | 36 | MODULE_AUTHOR("Hans Verkuil"); |
37 | MODULE_LICENSE("GPL"); | 37 | MODULE_LICENSE("GPL"); |
38 | 38 | ||
39 | static unsigned short normal_i2c[] = { 0x90 >> 1, I2C_CLIENT_END }; | ||
40 | |||
41 | |||
42 | I2C_CLIENT_INSMOD; | ||
43 | 39 | ||
44 | struct m52790_state { | 40 | struct m52790_state { |
45 | u16 input; | 41 | u16 input; |
diff --git a/drivers/media/video/saa7127.c b/drivers/media/video/saa7127.c index 0262acde0888..a5fbfe025333 100644 --- a/drivers/media/video/saa7127.c +++ b/drivers/media/video/saa7127.c | |||
@@ -69,10 +69,6 @@ module_param(test_image, int, 0644); | |||
69 | MODULE_PARM_DESC(debug, "debug level (0-2)"); | 69 | MODULE_PARM_DESC(debug, "debug level (0-2)"); |
70 | MODULE_PARM_DESC(test_image, "test_image (0-1)"); | 70 | MODULE_PARM_DESC(test_image, "test_image (0-1)"); |
71 | 71 | ||
72 | static unsigned short normal_i2c[] = { 0x88 >> 1, I2C_CLIENT_END }; | ||
73 | |||
74 | |||
75 | I2C_CLIENT_INSMOD; | ||
76 | 72 | ||
77 | /* | 73 | /* |
78 | * SAA7127 registers | 74 | * SAA7127 registers |
diff --git a/drivers/media/video/upd64031a.c b/drivers/media/video/upd64031a.c index 0318432d85f8..1b162f2dca95 100644 --- a/drivers/media/video/upd64031a.c +++ b/drivers/media/video/upd64031a.c | |||
@@ -49,10 +49,6 @@ module_param(debug, int, 0644); | |||
49 | 49 | ||
50 | MODULE_PARM_DESC(debug, "Debug level (0-1)"); | 50 | MODULE_PARM_DESC(debug, "Debug level (0-1)"); |
51 | 51 | ||
52 | static unsigned short normal_i2c[] = { 0x24 >> 1, 0x26 >> 1, I2C_CLIENT_END }; | ||
53 | |||
54 | |||
55 | I2C_CLIENT_INSMOD; | ||
56 | 52 | ||
57 | enum { | 53 | enum { |
58 | R00 = 0, R01, R02, R03, R04, | 54 | R00 = 0, R01, R02, R03, R04, |
diff --git a/drivers/media/video/upd64083.c b/drivers/media/video/upd64083.c index 7e32c5b0c29d..0f9e86cfc628 100644 --- a/drivers/media/video/upd64083.c +++ b/drivers/media/video/upd64083.c | |||
@@ -39,10 +39,6 @@ module_param(debug, bool, 0644); | |||
39 | 39 | ||
40 | MODULE_PARM_DESC(debug, "Debug level (0-1)"); | 40 | MODULE_PARM_DESC(debug, "Debug level (0-1)"); |
41 | 41 | ||
42 | static unsigned short normal_i2c[] = { 0xb8 >> 1, 0xba >> 1, I2C_CLIENT_END }; | ||
43 | |||
44 | |||
45 | I2C_CLIENT_INSMOD; | ||
46 | 42 | ||
47 | enum { | 43 | enum { |
48 | R00 = 0, R01, R02, R03, R04, | 44 | R00 = 0, R01, R02, R03, R04, |
diff --git a/drivers/media/video/vp27smpx.c b/drivers/media/video/vp27smpx.c index 97e24769e65b..cd98084ac090 100644 --- a/drivers/media/video/vp27smpx.c +++ b/drivers/media/video/vp27smpx.c | |||
@@ -36,10 +36,6 @@ MODULE_DESCRIPTION("vp27smpx driver"); | |||
36 | MODULE_AUTHOR("Hans Verkuil"); | 36 | MODULE_AUTHOR("Hans Verkuil"); |
37 | MODULE_LICENSE("GPL"); | 37 | MODULE_LICENSE("GPL"); |
38 | 38 | ||
39 | static unsigned short normal_i2c[] = { 0xb6 >> 1, I2C_CLIENT_END }; | ||
40 | |||
41 | |||
42 | I2C_CLIENT_INSMOD; | ||
43 | 39 | ||
44 | /* ----------------------------------------------------------------------- */ | 40 | /* ----------------------------------------------------------------------- */ |
45 | 41 | ||
diff --git a/drivers/media/video/wm8739.c b/drivers/media/video/wm8739.c index ac4fee1d0251..1c30a5c8455c 100644 --- a/drivers/media/video/wm8739.c +++ b/drivers/media/video/wm8739.c | |||
@@ -37,15 +37,12 @@ MODULE_AUTHOR("T. Adachi, Hans Verkuil"); | |||
37 | MODULE_LICENSE("GPL"); | 37 | MODULE_LICENSE("GPL"); |
38 | 38 | ||
39 | static int debug; | 39 | static int debug; |
40 | static unsigned short normal_i2c[] = { 0x34 >> 1, 0x36 >> 1, I2C_CLIENT_END }; | ||
41 | 40 | ||
42 | module_param(debug, int, 0644); | 41 | module_param(debug, int, 0644); |
43 | 42 | ||
44 | MODULE_PARM_DESC(debug, "Debug level (0-1)"); | 43 | MODULE_PARM_DESC(debug, "Debug level (0-1)"); |
45 | 44 | ||
46 | 45 | ||
47 | I2C_CLIENT_INSMOD; | ||
48 | |||
49 | /* ------------------------------------------------------------------------ */ | 46 | /* ------------------------------------------------------------------------ */ |
50 | 47 | ||
51 | enum { | 48 | enum { |
diff --git a/include/media/v4l2-i2c-drv.h b/include/media/v4l2-i2c-drv.h index bc61ab27779d..d758b765e0ff 100644 --- a/include/media/v4l2-i2c-drv.h +++ b/include/media/v4l2-i2c-drv.h | |||
@@ -34,7 +34,6 @@ struct v4l2_i2c_driver_data { | |||
34 | }; | 34 | }; |
35 | 35 | ||
36 | static struct v4l2_i2c_driver_data v4l2_i2c_data; | 36 | static struct v4l2_i2c_driver_data v4l2_i2c_data; |
37 | static struct i2c_client_address_data addr_data; | ||
38 | static struct i2c_driver v4l2_i2c_driver; | 37 | static struct i2c_driver v4l2_i2c_driver; |
39 | 38 | ||
40 | 39 | ||