summaryrefslogtreecommitdiff
path: root/drivers/media/video/w9968cf.c
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2009-11-27 19:57:18 +0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-12-16 05:17:55 +0300
commit0fda5d4420fe1d6a19189386b6bc6532c97a7e0e (patch)
treef982dabe5e05325ba391efbc7860563a30cdabfe /drivers/media/video/w9968cf.c
parent38c7c036036c6260606a2a833aaad3794ca22499 (diff)
downloadlinux-0fda5d4420fe1d6a19189386b6bc6532c97a7e0e.tar.xz
V4L/DVB (13551): v4l: Remove video_device::num usage from device drivers
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/w9968cf.c')
-rw-r--r--drivers/media/video/w9968cf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/video/w9968cf.c b/drivers/media/video/w9968cf.c
index 695ad2f46095..3af6d6b31865 100644
--- a/drivers/media/video/w9968cf.c
+++ b/drivers/media/video/w9968cf.c
@@ -2877,8 +2877,7 @@ static long w9968cf_v4l_ioctl(struct file *filp,
.minwidth = cam->minwidth,
.minheight = cam->minheight,
};
- sprintf(cap.name, "W996[87]CF USB Camera #%d",
- cam->v4ldev->num);
+ sprintf(cap.name, "W996[87]CF USB Camera");
cap.maxwidth = (cam->upscaling && w9968cf_vpp)
? max((u16)W9968CF_MAX_WIDTH, cam->maxwidth)
: cam->maxwidth;