aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/dvb-core/dvb_frontend.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2011-12-26 20:22:50 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-12-31 10:23:01 -0200
commit8de8594a79ae43b08d115c94f09373f6c673f202 (patch)
treee38c13109f4aa8bcc13bf7549786816e1cff5205 /drivers/media/dvb/dvb-core/dvb_frontend.h
parent[media] cx23885-dvb: Remove a dirty hack that would require DVBv3 (diff)
downloadlinux-dev-8de8594a79ae43b08d115c94f09373f6c673f202.tar.xz
linux-dev-8de8594a79ae43b08d115c94f09373f6c673f202.zip
[media] dvb-core: be sure that drivers won't use DVBv3 internally
Now that all frontends are implementing DVBv5, don't export the DVBv3 specific stuff to the drivers. Only the core should be aware of that, as it will keep providing DVBv3 backward compatibility. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/dvb-core/dvb_frontend.h')
-rw-r--r--drivers/media/dvb/dvb-core/dvb_frontend.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/dvb/dvb-core/dvb_frontend.h b/drivers/media/dvb/dvb-core/dvb_frontend.h
index 93715d6755f4..676481c8ad78 100644
--- a/drivers/media/dvb/dvb-core/dvb_frontend.h
+++ b/drivers/media/dvb/dvb-core/dvb_frontend.h
@@ -315,6 +315,7 @@ struct dvb_frontend_ops {
int (*get_property)(struct dvb_frontend* fe, struct dtv_property* tvp);
};
+#ifdef __DVB_CORE__
#define MAX_EVENT 8
struct dvb_fe_events {
@@ -325,6 +326,7 @@ struct dvb_fe_events {
wait_queue_head_t wait_queue;
struct mutex mtx;
};
+#endif
struct dtv_frontend_properties {