From: Hans Verkuil <hans.verk...@cisco.com>

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.verk...@cisco.com>
---
 Documentation/video4linux/v4l2-pci-skeleton.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/Documentation/video4linux/v4l2-pci-skeleton.c 
b/Documentation/video4linux/v4l2-pci-skeleton.c
index 7bd1b97..9c80c09 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;
 }
 
-- 
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to