Skip to content

Commit

Permalink
V4L/DVB: saa7134-input can't be a module right now
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mauro Carvalho Chehab committed Oct 21, 2010
1 parent d026d82 commit d302548
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 17 deletions.
7 changes: 2 additions & 5 deletions drivers/media/video/saa7134/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,12 @@ config VIDEO_SAA7134_ALSA
module will be called saa7134-alsa.

config VIDEO_SAA7134_RC
tristate "Philips SAA7134 Remote Controller support"
bool "Philips SAA7134 Remote Controller support"
depends on VIDEO_IR
depends on VIDEO_SAA7134
default y
---help---
Enables Remote Controller support for saa7134.

To compile this driver as a module, choose M here: the
module will be called saa7134-rc.
Enables Remote Controller support on saa7134 driver.

config VIDEO_SAA7134_DVB
tristate "DVB/ATSC Support for saa7134 based TV cards"
Expand Down
11 changes: 4 additions & 7 deletions drivers/media/video/saa7134/Makefile
Original file line number Diff line number Diff line change
@@ -1,18 +1,15 @@

saa7134-objs := saa7134-cards.o saa7134-core.o saa7134-i2c.o \
saa7134-ts.o saa7134-tvaudio.o saa7134-vbi.o \
saa7134-video.o

saa7134-rc-objs := saa7134-input.o
saa7134-y := saa7134-cards.o saa7134-core.o saa7134-i2c.o
saa7134-y += saa7134-ts.o saa7134-tvaudio.o saa7134-vbi.o
saa7134-y += saa7134-video.o
saa7134-$(CONFIG_VIDEO_SAA7134_RC) += saa7134-input.o

obj-$(CONFIG_VIDEO_SAA7134) += saa6752hs.o saa7134.o saa7134-empress.o

obj-$(CONFIG_VIDEO_SAA7134_ALSA) += saa7134-alsa.o

obj-$(CONFIG_VIDEO_SAA7134_DVB) += saa7134-dvb.o

obj-$(CONFIG_VIDEO_SAA7134_RC) += saa7134-rc.o

EXTRA_CFLAGS += -Idrivers/media/video
EXTRA_CFLAGS += -Idrivers/media/common/tuners
EXTRA_CFLAGS += -Idrivers/media/dvb/dvb-core
Expand Down
5 changes: 1 addition & 4 deletions drivers/media/video/saa7134/saa7134-input.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#include "saa7134-reg.h"
#include "saa7134.h"

#define MODULE_NAME "saa7134-rc"
#define MODULE_NAME "saa7134"

static unsigned int disable_ir;
module_param(disable_ir, int, 0444);
Expand Down Expand Up @@ -1211,6 +1211,3 @@ static int saa7134_nec_irq(struct saa7134_dev *dev)

return 1;
}

MODULE_LICENSE("GPL");
MODULE_AUTHOR("Mauro Carvalho Chehab <mchehab@redhat.com>");
2 changes: 1 addition & 1 deletion drivers/media/video/saa7134/saa7134.h
Original file line number Diff line number Diff line change
Expand Up @@ -810,7 +810,7 @@ void saa7134_irq_oss_done(struct saa7134_dev *dev, unsigned long status);
/* ----------------------------------------------------------- */
/* saa7134-input.c */

#if defined(CONFIG_VIDEO_SAA7134_RC) || (defined(CONFIG_VIDEO_SAA7134_RC_MODULE) && defined(MODULE))
#if defined(CONFIG_VIDEO_SAA7134_RC)
int saa7134_input_init1(struct saa7134_dev *dev);
void saa7134_input_fini(struct saa7134_dev *dev);
void saa7134_input_irq(struct saa7134_dev *dev);
Expand Down

0 comments on commit d302548

Please sign in to comment.