diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2009-02-19 15:41:19 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-03-30 11:42:59 -0400 |
commit | 2d26698e859994d4febb2d27b055bdc37d8e368e (patch) | |
tree | 86c241c67fc785dffc96cbe2c409a3636a99bca0 /drivers/media/video/bt819.c | |
parent | 7f6adeaf2d8800b66c5dd6c2cf2622dfdd68bd31 (diff) |
V4L/DVB (10731): zoran i2c modules: remove i2c autoprobing support.
Zoran doesn't do autoprobing anymore, so remove support for this from the
i2c modules.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/bt819.c')
-rw-r--r-- | drivers/media/video/bt819.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/drivers/media/video/bt819.c b/drivers/media/video/bt819.c index 821af126929..f2ebf8441aa 100644 --- a/drivers/media/video/bt819.c +++ b/drivers/media/video/bt819.c | |||
@@ -38,7 +38,7 @@ | |||
38 | #include <linux/videodev2.h> | 38 | #include <linux/videodev2.h> |
39 | #include <media/v4l2-device.h> | 39 | #include <media/v4l2-device.h> |
40 | #include <media/v4l2-chip-ident.h> | 40 | #include <media/v4l2-chip-ident.h> |
41 | #include <media/v4l2-i2c-drv-legacy.h> | 41 | #include <media/v4l2-i2c-drv.h> |
42 | 42 | ||
43 | MODULE_DESCRIPTION("Brooktree-819 video decoder driver"); | 43 | MODULE_DESCRIPTION("Brooktree-819 video decoder driver"); |
44 | MODULE_AUTHOR("Mike Bernson & Dave Perks"); | 44 | MODULE_AUTHOR("Mike Bernson & Dave Perks"); |
@@ -48,9 +48,6 @@ static int debug; | |||
48 | module_param(debug, int, 0); | 48 | module_param(debug, int, 0); |
49 | MODULE_PARM_DESC(debug, "Debug level (0-1)"); | 49 | MODULE_PARM_DESC(debug, "Debug level (0-1)"); |
50 | 50 | ||
51 | static unsigned short normal_i2c[] = { 0x8a >> 1, I2C_CLIENT_END }; | ||
52 | |||
53 | I2C_CLIENT_INSMOD; | ||
54 | 51 | ||
55 | /* ----------------------------------------------------------------------- */ | 52 | /* ----------------------------------------------------------------------- */ |
56 | 53 | ||
@@ -428,11 +425,6 @@ static int bt819_g_chip_ident(struct v4l2_subdev *sd, struct v4l2_dbg_chip_ident | |||
428 | return v4l2_chip_ident_i2c_client(client, chip, decoder->ident, 0); | 425 | return v4l2_chip_ident_i2c_client(client, chip, decoder->ident, 0); |
429 | } | 426 | } |
430 | 427 | ||
431 | static int bt819_command(struct i2c_client *client, unsigned cmd, void *arg) | ||
432 | { | ||
433 | return v4l2_subdev_command(i2c_get_clientdata(client), cmd, arg); | ||
434 | } | ||
435 | |||
436 | /* ----------------------------------------------------------------------- */ | 428 | /* ----------------------------------------------------------------------- */ |
437 | 429 | ||
438 | static const struct v4l2_subdev_core_ops bt819_core_ops = { | 430 | static const struct v4l2_subdev_core_ops bt819_core_ops = { |
@@ -537,8 +529,6 @@ MODULE_DEVICE_TABLE(i2c, bt819_id); | |||
537 | 529 | ||
538 | static struct v4l2_i2c_driver_data v4l2_i2c_data = { | 530 | static struct v4l2_i2c_driver_data v4l2_i2c_data = { |
539 | .name = "bt819", | 531 | .name = "bt819", |
540 | .driverid = I2C_DRIVERID_BT819, | ||
541 | .command = bt819_command, | ||
542 | .probe = bt819_probe, | 532 | .probe = bt819_probe, |
543 | .remove = bt819_remove, | 533 | .remove = bt819_remove, |
544 | .id_table = bt819_id, | 534 | .id_table = bt819_id, |