]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
[media] v4l2-pci-skeleton: drop format description
authorHans Verkuil <hans.verkuil@cisco.com>
Tue, 21 Apr 2015 13:38:32 +0000 (10:38 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 1 May 2015 09:56:14 +0000 (06:56 -0300)
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>
Documentation/video4linux/v4l2-pci-skeleton.c

index 7bd1b975bfd23764c344f983e1d8292e02cf5482..9c80c090e92df7233f1ddf645f638c0a09329bf8 100644 (file)
@@ -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;
 }