summaryrefslogtreecommitdiff
path: root/drivers/media/pci/saa7164/saa7164.h
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2015-08-28 08:48:30 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-10-01 08:24:40 -0300
commit031d229772745044faf86f6bee0c9d0f151e3bd4 (patch)
tree65f6876cbcfa3d773d0341b79451a1a3d42f149c /drivers/media/pci/saa7164/saa7164.h
parent245b5ae95f6c58a49f5a7230041f9fbfbaabfc99 (diff)
[media] saa7164: fix format ioctls
Fix various v4l2-compliance issues in the formatting ioctls: - the vbi device implemented video format ioctls which make no senses for a vbi device, remove them. - remove the unused ts_packet_size and ts_packet_count fields. - fill in colorspace and field. - fill in sizeimage with a default value. - for the video node the get, set and try format functions all do the same thing, so combine into a single function. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/pci/saa7164/saa7164.h')
-rw-r--r--drivers/media/pci/saa7164/saa7164.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/pci/saa7164/saa7164.h b/drivers/media/pci/saa7164/saa7164.h
index 1d8e95d4dae3..f8e54d5890ef 100644
--- a/drivers/media/pci/saa7164/saa7164.h
+++ b/drivers/media/pci/saa7164/saa7164.h
@@ -390,8 +390,6 @@ struct saa7164_port {
u32 height;
u32 width;
u32 freq;
- u32 ts_packet_size;
- u32 ts_packet_count;
u8 mux_input;
u8 encoder_profile;
u8 video_format;