diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2009-08-29 17:36:50 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-09-19 00:19:22 -0300 |
commit | 0da2808ca27ab7f65346d4d191569c669db8f628 (patch) | |
tree | 65047aeb01bc24607dd2b58aea6601f8515a1111 /drivers/media/video/soc_camera_platform.c | |
parent | 96c75399544838e1752001c8abdde36dd459cf8f (diff) | |
download | blackbird-obmc-linux-0da2808ca27ab7f65346d4d191569c669db8f628.tar.gz blackbird-obmc-linux-0da2808ca27ab7f65346d4d191569c669db8f628.zip |
V4L/DVB (12580): soc-camera: remove now unneeded subdevice group ID assignments
Since we are not using v4l2_device_call_* calls any more, we don't need to
initialise subdevice .grp_id any more. This also fixes compiler warnings on
64-bit platforms.
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/soc_camera_platform.c')
-rw-r--r-- | drivers/media/video/soc_camera_platform.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/video/soc_camera_platform.c b/drivers/media/video/soc_camera_platform.c index 1b6dd02a801f..b6a575ce5da2 100644 --- a/drivers/media/video/soc_camera_platform.c +++ b/drivers/media/video/soc_camera_platform.c @@ -137,7 +137,6 @@ static int soc_camera_platform_probe(struct platform_device *pdev) v4l2_subdev_init(&priv->subdev, &platform_subdev_ops); v4l2_set_subdevdata(&priv->subdev, p); - priv->subdev.grp_id = (__u32)icd; strncpy(priv->subdev.name, dev_name(&pdev->dev), V4L2_SUBDEV_NAME_SIZE); ret = v4l2_device_register_subdev(&ici->v4l2_dev, &priv->subdev); |