aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/saa7134
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2010-10-06 21:02:58 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-10-20 23:16:52 -0400
commitd302548a9f88ee417e680ac1e731ef11006b1735 (patch)
treec06cdfce1c6ea7d8820e22407e497ec79d0db786 /drivers/media/video/saa7134
parentd026d8284378110c8629a259caaccae4628f1ce0 (diff)
V4L/DVB: saa7134-input can't be a module right now
There are some symbols at saa7134-input that are used on saa7134 and vice-versa. Due to that, module install fails. So, partially revert commit 9f495cf7d691c99bf7bdcec9f35fcfdad2cf9ae9. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/saa7134')
-rw-r--r--drivers/media/video/saa7134/Kconfig7
-rw-r--r--drivers/media/video/saa7134/Makefile11
-rw-r--r--drivers/media/video/saa7134/saa7134-input.c5
-rw-r--r--drivers/media/video/saa7134/saa7134.h2
4 files changed, 8 insertions, 17 deletions
diff --git a/drivers/media/video/saa7134/Kconfig b/drivers/media/video/saa7134/Kconfig
index 892b0b180938..3fe71be41a1f 100644
--- a/drivers/media/video/saa7134/Kconfig
+++ b/drivers/media/video/saa7134/Kconfig
@@ -25,15 +25,12 @@ config VIDEO_SAA7134_ALSA
25 module will be called saa7134-alsa. 25 module will be called saa7134-alsa.
26 26
27config VIDEO_SAA7134_RC 27config VIDEO_SAA7134_RC
28 tristate "Philips SAA7134 Remote Controller support" 28 bool "Philips SAA7134 Remote Controller support"
29 depends on VIDEO_IR 29 depends on VIDEO_IR
30 depends on VIDEO_SAA7134 30 depends on VIDEO_SAA7134
31 default y 31 default y
32 ---help--- 32 ---help---
33 Enables Remote Controller support for saa7134. 33 Enables Remote Controller support on saa7134 driver.
34
35 To compile this driver as a module, choose M here: the
36 module will be called saa7134-rc.
37 34
38config VIDEO_SAA7134_DVB 35config VIDEO_SAA7134_DVB
39 tristate "DVB/ATSC Support for saa7134 based TV cards" 36 tristate "DVB/ATSC Support for saa7134 based TV cards"
diff --git a/drivers/media/video/saa7134/Makefile b/drivers/media/video/saa7134/Makefile
index 562446800f0e..8a5ff4d3cf15 100644
--- a/drivers/media/video/saa7134/Makefile
+++ b/drivers/media/video/saa7134/Makefile
@@ -1,9 +1,8 @@
1 1
2saa7134-objs := saa7134-cards.o saa7134-core.o saa7134-i2c.o \ 2saa7134-y := saa7134-cards.o saa7134-core.o saa7134-i2c.o
3 saa7134-ts.o saa7134-tvaudio.o saa7134-vbi.o \ 3saa7134-y += saa7134-ts.o saa7134-tvaudio.o saa7134-vbi.o
4 saa7134-video.o 4saa7134-y += saa7134-video.o
5 5saa7134-$(CONFIG_VIDEO_SAA7134_RC) += saa7134-input.o
6saa7134-rc-objs := saa7134-input.o
7 6
8obj-$(CONFIG_VIDEO_SAA7134) += saa6752hs.o saa7134.o saa7134-empress.o 7obj-$(CONFIG_VIDEO_SAA7134) += saa6752hs.o saa7134.o saa7134-empress.o
9 8
@@ -11,8 +10,6 @@ obj-$(CONFIG_VIDEO_SAA7134_ALSA) += saa7134-alsa.o
11 10
12obj-$(CONFIG_VIDEO_SAA7134_DVB) += saa7134-dvb.o 11obj-$(CONFIG_VIDEO_SAA7134_DVB) += saa7134-dvb.o
13 12
14obj-$(CONFIG_VIDEO_SAA7134_RC) += saa7134-rc.o
15
16EXTRA_CFLAGS += -Idrivers/media/video 13EXTRA_CFLAGS += -Idrivers/media/video
17EXTRA_CFLAGS += -Idrivers/media/common/tuners 14EXTRA_CFLAGS += -Idrivers/media/common/tuners
18EXTRA_CFLAGS += -Idrivers/media/dvb/dvb-core 15EXTRA_CFLAGS += -Idrivers/media/dvb/dvb-core
diff --git a/drivers/media/video/saa7134/saa7134-input.c b/drivers/media/video/saa7134/saa7134-input.c
index a6ac46211217..3a0ea56f27ff 100644
--- a/drivers/media/video/saa7134/saa7134-input.c
+++ b/drivers/media/video/saa7134/saa7134-input.c
@@ -28,7 +28,7 @@
28#include "saa7134-reg.h" 28#include "saa7134-reg.h"
29#include "saa7134.h" 29#include "saa7134.h"
30 30
31#define MODULE_NAME "saa7134-rc" 31#define MODULE_NAME "saa7134"
32 32
33static unsigned int disable_ir; 33static unsigned int disable_ir;
34module_param(disable_ir, int, 0444); 34module_param(disable_ir, int, 0444);
@@ -1211,6 +1211,3 @@ static int saa7134_nec_irq(struct saa7134_dev *dev)
1211 1211
1212 return 1; 1212 return 1;
1213} 1213}
1214
1215MODULE_LICENSE("GPL");
1216MODULE_AUTHOR("Mauro Carvalho Chehab <mchehab@redhat.com>");
diff --git a/drivers/media/video/saa7134/saa7134.h b/drivers/media/video/saa7134/saa7134.h
index 99f122b0ce95..d3b6a196e5dc 100644
--- a/drivers/media/video/saa7134/saa7134.h
+++ b/drivers/media/video/saa7134/saa7134.h
@@ -810,7 +810,7 @@ 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)) 813#if defined(CONFIG_VIDEO_SAA7134_RC)
814int saa7134_input_init1(struct saa7134_dev *dev); 814int saa7134_input_init1(struct saa7134_dev *dev);
815void saa7134_input_fini(struct saa7134_dev *dev); 815void saa7134_input_fini(struct saa7134_dev *dev);
816void saa7134_input_irq(struct saa7134_dev *dev); 816void saa7134_input_irq(struct saa7134_dev *dev);