aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/saa7134/saa7134.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2010-09-29 13:41:52 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-10-20 23:06:09 -0400
commit896c1422ed49961bf32c980a57218d8c5f8ce3bd (patch)
tree637d0c64bcabe1aaa3e0d6a434feb8616d9da5a8 /drivers/media/video/saa7134/saa7134.h
parente051f69ae3ef9bd87977d7473bf82e2080e37044 (diff)
V4L/DVB: saa7134: split RC code into a different module
This allows the removal of CONFIG_INPUT from saa7134, and helps to create a better Kconfig dependency hierarchy. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/saa7134/saa7134.h')
-rw-r--r--drivers/media/video/saa7134/saa7134.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/drivers/media/video/saa7134/saa7134.h b/drivers/media/video/saa7134/saa7134.h
index c040a1808542..99f122b0ce95 100644
--- a/drivers/media/video/saa7134/saa7134.h
+++ b/drivers/media/video/saa7134/saa7134.h
@@ -810,16 +810,18 @@ void saa7134_irq_oss_done(struct saa7134_dev *dev, unsigned long status);
810/* ----------------------------------------------------------- */ 810/* ----------------------------------------------------------- */
811/* saa7134-input.c */ 811/* saa7134-input.c */
812 812
813#if defined(CONFIG_VIDEO_SAA7134_RC) || (defined(CONFIG_VIDEO_SAA7134_RC_MODULE) && defined(MODULE))
813int saa7134_input_init1(struct saa7134_dev *dev); 814int saa7134_input_init1(struct saa7134_dev *dev);
814void saa7134_input_fini(struct saa7134_dev *dev); 815void saa7134_input_fini(struct saa7134_dev *dev);
815void saa7134_input_irq(struct saa7134_dev *dev); 816void saa7134_input_irq(struct saa7134_dev *dev);
816void saa7134_probe_i2c_ir(struct saa7134_dev *dev); 817void saa7134_probe_i2c_ir(struct saa7134_dev *dev);
817int saa7134_ir_start(struct saa7134_dev *dev); 818int saa7134_ir_start(struct saa7134_dev *dev);
818void saa7134_ir_stop(struct saa7134_dev *dev); 819void saa7134_ir_stop(struct saa7134_dev *dev);
819 820#else
820 821#define saa7134_input_init1(dev) (0)
821/* 822#define saa7134_input_fini(dev) (0)
822 * Local variables: 823#define saa7134_input_irq(dev) (0)
823 * c-basic-offset: 8 824#define saa7134_probe_i2c_ir(dev) (0)
824 * End: 825#define saa7134_ir_start(dev) (0)
825 */ 826#define saa7134_ir_stop(dev) (0)
827#endif