summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSteven Toth <stoth@linuxtv.org>2008-09-26 07:29:49 +0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-10-12 15:37:11 +0400
commiteacf8d8d6bc6798f6870a2cf2c159bfcde3759ac (patch)
treeb3c7d3d709a8754f22b6385c70b6ac4bfb4d4f88 /include
parentd48cb402a1ba48c4ad4a36c3c561386027318459 (diff)
downloadlinux-eacf8d8d6bc6798f6870a2cf2c159bfcde3759ac.tar.xz
V4L/DVB (9072): S2API: Add DTV_API_VERSION command
This allows application developers to query the dvb-core API version dynamically, helping developers understand whether certain features will be available. Signed-off-by: Steven Toth <stoth@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/dvb/frontend.h1
-rw-r--r--include/linux/dvb/version.h4
2 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/dvb/frontend.h b/include/linux/dvb/frontend.h
index b561626fc8a0..eb98f8c37cad 100644
--- a/include/linux/dvb/frontend.h
+++ b/include/linux/dvb/frontend.h
@@ -268,6 +268,7 @@ struct dvb_frontend_event {
#define DTV_FE_CAPABILITY 16
#define DTV_DELIVERY_SYSTEM 17
+#define DTV_API_VERSION 35
typedef enum fe_pilot {
PILOT_ON,
diff --git a/include/linux/dvb/version.h b/include/linux/dvb/version.h
index 126e0c26cb09..25b823b81734 100644
--- a/include/linux/dvb/version.h
+++ b/include/linux/dvb/version.h
@@ -23,7 +23,7 @@
#ifndef _DVBVERSION_H_
#define _DVBVERSION_H_
-#define DVB_API_VERSION 3
-#define DVB_API_VERSION_MINOR 2
+#define DVB_API_VERSION 5
+#define DVB_API_VERSION_MINOR 0
#endif /*_DVBVERSION_H_*/