summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2013-08-19 10:19:54 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2013-08-24 04:28:05 -0300
commitd1c65ad6a44b0ff79d2f0bf726fa6fd9248991f4 (patch)
treeec6f649e311a44c214da1dbc7644762ae30cc17c /include/media
parent074ca43f2f99c926a250847ae59a337ebdec6d61 (diff)
downloadlinux-d1c65ad6a44b0ff79d2f0bf726fa6fd9248991f4.tar.gz
linux-d1c65ad6a44b0ff79d2f0bf726fa6fd9248991f4.tar.bz2
linux-d1c65ad6a44b0ff79d2f0bf726fa6fd9248991f4.zip
[media] v4l2-dv-timings: export the timings list
Some drivers need to be able to access the full list of timings. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'include/media')
-rw-r--r--include/media/v4l2-dv-timings.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/media/v4l2-dv-timings.h b/include/media/v4l2-dv-timings.h
index 43f6b67af1cb..0fe310b8bc80 100644
--- a/include/media/v4l2-dv-timings.h
+++ b/include/media/v4l2-dv-timings.h
@@ -23,6 +23,10 @@
#include <linux/videodev2.h>
+/** v4l2_dv_timings_presets: list of all dv_timings presets.
+ */
+extern const struct v4l2_dv_timings v4l2_dv_timings_presets[];
+
/** v4l2_dv_valid_timings() - are these timings valid?
* @t: the v4l2_dv_timings struct.
* @cap: the v4l2_dv_timings_cap capabilities.