Skip to content

Commit

Permalink
V4L/DVB (5813): TUNER_TEA5761 kconfig fixes
Browse files Browse the repository at this point in the history
The following doesn't make much sense:
drivers/media/video/Kconfig:
...
config TUNER_TEA5761
        tristate "TEA 5761 radio tuner (EXPERIMENTAL)"
...
drivers/media/video/Makefile:
...
ifneq ($(CONFIG_TUNER_TEA5761),)
  tuner-objs += tea5761.o
endif
...
With this setup, TUNER_TEA5761=m is equivalent to TUNER_TEA5761=y.
This patch therefore changes TUNER_TEA5761 to a bool.
The missing dependency on EXPERIMENTAL the prompt text indicates also
gets added by this patch.
Additionally, the Makefile entry can now be written in a more compact way.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
  • Loading branch information
Adrian Bunk authored and Mauro Carvalho Chehab committed Jul 18, 2007
1 parent 51b5402 commit 8fb2191
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 2 additions & 1 deletion drivers/media/video/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,8 @@ config TUNER_3036
If in doubt, say N.

config TUNER_TEA5761
tristate "TEA 5761 radio tuner (EXPERIMENTAL)"
bool "TEA 5761 radio tuner (EXPERIMENTAL)"
depends on EXPERIMENTAL
depends on I2C
select VIDEO_TUNER
help
Expand Down
4 changes: 1 addition & 3 deletions drivers/media/video/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ zr36067-objs := zoran_procfs.o zoran_device.o \
tuner-objs := tuner-core.o tuner-types.o tuner-simple.o \
mt20xx.o tda8290.o tea5767.o tda9887.o

ifneq ($(CONFIG_TUNER_TEA5761),)
tuner-objs += tea5761.o
endif
tuner-$(CONFIG_TUNER_TEA5761) += tea5761.o

msp3400-objs := msp3400-driver.o msp3400-kthreads.o

Expand Down

0 comments on commit 8fb2191

Please sign in to comment.