summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2015-04-21 10:38:32 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-05-01 06:56:14 -0300
commitebb09a96242156660ba585de4b783fd93cdcfb61 (patch)
tree5200479706af84abb5337c7b8c14634d4f473459 /Documentation
parent99b7427761fe6381932a188a417ff4c47515b72e (diff)
downloadtalos-op-linux-ebb09a96242156660ba585de4b783fd93cdcfb61.tar.gz
talos-op-linux-ebb09a96242156660ba585de4b783fd93cdcfb61.zip
[media] v4l2-pci-skeleton: drop format description
The format description is now filled in by the core, so we can drop this in this skeleton driver. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'Documentation')
-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,
if (f->index != 0)
return -EINVAL;
- strlcpy(f->description, "4:2:2, packed, YUYV", sizeof(f->description));
f->pixelformat = V4L2_PIX_FMT_YUYV;
- f->flags = 0;
return 0;
}
OpenPOWER on IntegriCloud