aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/video4linux/v4l2-pci-skeleton.c
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/video4linux/v4l2-pci-skeleton.c')
-rw-r--r--Documentation/video4linux/v4l2-pci-skeleton.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/Documentation/video4linux/v4l2-pci-skeleton.c b/Documentation/video4linux/v4l2-pci-skeleton.c
index 7bd1b975bfd2..9c80c090e92d 100644
--- a/Documentation/video4linux/v4l2-pci-skeleton.c
+++ b/Documentation/video4linux/v4l2-pci-skeleton.c
@@ -406,9 +406,7 @@ static int skeleton_enum_fmt_vid_cap(struct file *file, void *priv,
406 if (f->index != 0) 406 if (f->index != 0)
407 return -EINVAL; 407 return -EINVAL;
408 408
409 strlcpy(f->description, "4:2:2, packed, YUYV", sizeof(f->description));
410 f->pixelformat = V4L2_PIX_FMT_YUYV; 409 f->pixelformat = V4L2_PIX_FMT_YUYV;
411 f->flags = 0;
412 return 0; 410 return 0;
413} 411}
414 412