aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/dvb
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2011-12-26 18:22:50 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-12-31 07:23:01 -0500
commit8de8594a79ae43b08d115c94f09373f6c673f202 (patch)
treee38c13109f4aa8bcc13bf7549786816e1cff5205 /include/linux/dvb
parenta7d44baaed0a8c7d4c4fb47938455cb3fc2bb1eb (diff)
[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 'include/linux/dvb')
-rw-r--r--include/linux/dvb/frontend.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/dvb/frontend.h b/include/linux/dvb/frontend.h
index a3c762383f8..7e7cb64f56d 100644
--- a/include/linux/dvb/frontend.h
+++ b/include/linux/dvb/frontend.h
@@ -181,6 +181,7 @@ typedef enum fe_transmit_mode {
181 TRANSMISSION_MODE_32K, 181 TRANSMISSION_MODE_32K,
182} fe_transmit_mode_t; 182} fe_transmit_mode_t;
183 183
184#if defined(__DVB_CORE__) || !defined (__KERNEL__)
184typedef enum fe_bandwidth { 185typedef enum fe_bandwidth {
185 BANDWIDTH_8_MHZ, 186 BANDWIDTH_8_MHZ,
186 BANDWIDTH_7_MHZ, 187 BANDWIDTH_7_MHZ,
@@ -190,7 +191,7 @@ typedef enum fe_bandwidth {
190 BANDWIDTH_10_MHZ, 191 BANDWIDTH_10_MHZ,
191 BANDWIDTH_1_712_MHZ, 192 BANDWIDTH_1_712_MHZ,
192} fe_bandwidth_t; 193} fe_bandwidth_t;
193 194#endif
194 195
195typedef enum fe_guard_interval { 196typedef enum fe_guard_interval {
196 GUARD_INTERVAL_1_32, 197 GUARD_INTERVAL_1_32,
@@ -213,6 +214,7 @@ typedef enum fe_hierarchy {
213} fe_hierarchy_t; 214} fe_hierarchy_t;
214 215
215 216
217#if defined(__DVB_CORE__) || !defined (__KERNEL__)
216struct dvb_qpsk_parameters { 218struct dvb_qpsk_parameters {
217 __u32 symbol_rate; /* symbol rate in Symbols per second */ 219 __u32 symbol_rate; /* symbol rate in Symbols per second */
218 fe_code_rate_t fec_inner; /* forward error correction (see above) */ 220 fe_code_rate_t fec_inner; /* forward error correction (see above) */
@@ -251,11 +253,11 @@ struct dvb_frontend_parameters {
251 } u; 253 } u;
252}; 254};
253 255
254
255struct dvb_frontend_event { 256struct dvb_frontend_event {
256 fe_status_t status; 257 fe_status_t status;
257 struct dvb_frontend_parameters parameters; 258 struct dvb_frontend_parameters parameters;
258}; 259};
260#endif
259 261
260/* S2API Commands */ 262/* S2API Commands */
261#define DTV_UNDEFINED 0 263#define DTV_UNDEFINED 0