aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx88/cx88.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/cx88/cx88.h')
-rw-r--r--drivers/media/video/cx88/cx88.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/media/video/cx88/cx88.h b/drivers/media/video/cx88/cx88.h
index 0cd1b57bcd12..d2ecfba9bb4d 100644
--- a/drivers/media/video/cx88/cx88.h
+++ b/drivers/media/video/cx88/cx88.h
@@ -31,7 +31,9 @@
31#include <media/video-buf.h> 31#include <media/video-buf.h>
32#include <media/cx2341x.h> 32#include <media/cx2341x.h>
33#include <media/audiochip.h> 33#include <media/audiochip.h>
34#if defined(CONFIG_VIDEO_BUF_DVB) || defined(CONFIG_VIDEO_BUF_DVB_MODULE)
34#include <media/video-buf-dvb.h> 35#include <media/video-buf-dvb.h>
36#endif
35 37
36#include "btcx-risc.h" 38#include "btcx-risc.h"
37#include "cx88-reg.h" 39#include "cx88-reg.h"
@@ -313,9 +315,11 @@ struct cx88_core {
313 unsigned int tuner_formats; 315 unsigned int tuner_formats;
314 316
315 /* config info -- dvb */ 317 /* config info -- dvb */
318#if defined(CONFIG_VIDEO_BUF_DVB) || defined(CONFIG_VIDEO_BUF_DVB_MODULE)
316 struct dvb_pll_desc *pll_desc; 319 struct dvb_pll_desc *pll_desc;
317 unsigned int pll_addr; 320 unsigned int pll_addr;
318 int (*prev_set_voltage)(struct dvb_frontend* fe, fe_sec_voltage_t voltage); 321 int (*prev_set_voltage)(struct dvb_frontend* fe, fe_sec_voltage_t voltage);
322#endif
319 323
320 /* state info */ 324 /* state info */
321 struct task_struct *kthread; 325 struct task_struct *kthread;
@@ -460,12 +464,14 @@ struct cx8802_dev {
460 int width; 464 int width;
461 int height; 465 int height;
462 466
467#if defined(CONFIG_VIDEO_BUF_DVB) || defined(CONFIG_VIDEO_BUF_DVB_MODULE)
463 /* for dvb only */ 468 /* for dvb only */
464 struct videobuf_dvb dvb; 469 struct videobuf_dvb dvb;
465 void* fe_handle; 470 void* fe_handle;
466 int (*fe_release)(void *handle); 471 int (*fe_release)(void *handle);
467 472
468 void *card_priv; 473 void *card_priv;
474#endif
469 /* for switching modulation types */ 475 /* for switching modulation types */
470 unsigned char ts_gen_cntrl; 476 unsigned char ts_gen_cntrl;
471 477