diff options
Diffstat (limited to 'drivers/media/video/saa7134/saa7134.h')
-rw-r--r-- | drivers/media/video/saa7134/saa7134.h | 30 |
1 files changed, 9 insertions, 21 deletions
diff --git a/drivers/media/video/saa7134/saa7134.h b/drivers/media/video/saa7134/saa7134.h index 88cd1297df13..b3e3957c89b5 100644 --- a/drivers/media/video/saa7134/saa7134.h +++ b/drivers/media/video/saa7134/saa7134.h | |||
@@ -41,14 +41,10 @@ | |||
41 | #include <sound/driver.h> | 41 | #include <sound/driver.h> |
42 | #include <sound/core.h> | 42 | #include <sound/core.h> |
43 | #include <sound/pcm.h> | 43 | #include <sound/pcm.h> |
44 | #if defined(CONFIG_VIDEO_BUF_DVB) || defined(CONFIG_VIDEO_BUF_DVB_MODULE) | ||
44 | #include <media/video-buf-dvb.h> | 45 | #include <media/video-buf-dvb.h> |
45 | |||
46 | #ifndef TRUE | ||
47 | # define TRUE (1==1) | ||
48 | #endif | ||
49 | #ifndef FALSE | ||
50 | # define FALSE (1==0) | ||
51 | #endif | 46 | #endif |
47 | |||
52 | #define UNSET (-1U) | 48 | #define UNSET (-1U) |
53 | 49 | ||
54 | /* ----------------------------------------------------------- */ | 50 | /* ----------------------------------------------------------- */ |
@@ -232,6 +228,9 @@ struct saa7134_format { | |||
232 | #define SAA7134_BOARD_VIDEOMATE_DVBT_200A 103 | 228 | #define SAA7134_BOARD_VIDEOMATE_DVBT_200A 103 |
233 | #define SAA7134_BOARD_HAUPPAUGE_HVR1110 104 | 229 | #define SAA7134_BOARD_HAUPPAUGE_HVR1110 104 |
234 | #define SAA7134_BOARD_CINERGY_HT_PCMCIA 105 | 230 | #define SAA7134_BOARD_CINERGY_HT_PCMCIA 105 |
231 | #define SAA7134_BOARD_ENCORE_ENLTV 106 | ||
232 | #define SAA7134_BOARD_ENCORE_ENLTV_FM 107 | ||
233 | #define SAA7134_BOARD_CINERGY_HT_PCI 108 | ||
235 | 234 | ||
236 | #define SAA7134_MAXBOARDS 8 | 235 | #define SAA7134_MAXBOARDS 8 |
237 | #define SAA7134_INPUT_MAX 8 | 236 | #define SAA7134_INPUT_MAX 8 |
@@ -411,20 +410,6 @@ struct saa7134_dmasound { | |||
411 | struct snd_pcm_substream *substream; | 410 | struct snd_pcm_substream *substream; |
412 | }; | 411 | }; |
413 | 412 | ||
414 | /* IR input */ | ||
415 | struct saa7134_ir { | ||
416 | struct input_dev *dev; | ||
417 | struct ir_input_state ir; | ||
418 | char name[32]; | ||
419 | char phys[32]; | ||
420 | u32 mask_keycode; | ||
421 | u32 mask_keydown; | ||
422 | u32 mask_keyup; | ||
423 | int polling; | ||
424 | u32 last_gpio; | ||
425 | struct timer_list timer; | ||
426 | }; | ||
427 | |||
428 | /* ts/mpeg status */ | 413 | /* ts/mpeg status */ |
429 | struct saa7134_ts { | 414 | struct saa7134_ts { |
430 | /* TS capture */ | 415 | /* TS capture */ |
@@ -463,7 +448,7 @@ struct saa7134_dev { | |||
463 | 448 | ||
464 | /* infrared remote */ | 449 | /* infrared remote */ |
465 | int has_remote; | 450 | int has_remote; |
466 | struct saa7134_ir *remote; | 451 | struct card_ir *remote; |
467 | 452 | ||
468 | /* pci i/o */ | 453 | /* pci i/o */ |
469 | char name[32]; | 454 | char name[32]; |
@@ -543,9 +528,11 @@ struct saa7134_dev { | |||
543 | struct work_struct empress_workqueue; | 528 | struct work_struct empress_workqueue; |
544 | int empress_started; | 529 | int empress_started; |
545 | 530 | ||
531 | #if defined(CONFIG_VIDEO_BUF_DVB) || defined(CONFIG_VIDEO_BUF_DVB_MODULE) | ||
546 | /* SAA7134_MPEG_DVB only */ | 532 | /* SAA7134_MPEG_DVB only */ |
547 | struct videobuf_dvb dvb; | 533 | struct videobuf_dvb dvb; |
548 | int (*original_demod_sleep)(struct dvb_frontend* fe); | 534 | int (*original_demod_sleep)(struct dvb_frontend* fe); |
535 | #endif | ||
549 | }; | 536 | }; |
550 | 537 | ||
551 | /* ----------------------------------------------------------- */ | 538 | /* ----------------------------------------------------------- */ |
@@ -698,6 +685,7 @@ void saa7134_input_fini(struct saa7134_dev *dev); | |||
698 | void saa7134_input_irq(struct saa7134_dev *dev); | 685 | void saa7134_input_irq(struct saa7134_dev *dev); |
699 | void saa7134_set_i2c_ir(struct saa7134_dev *dev, struct IR_i2c *ir); | 686 | void saa7134_set_i2c_ir(struct saa7134_dev *dev, struct IR_i2c *ir); |
700 | 687 | ||
688 | |||
701 | /* | 689 | /* |
702 | * Local variables: | 690 | * Local variables: |
703 | * c-basic-offset: 8 | 691 | * c-basic-offset: 8 |