Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

V4L/DVB (5813): TUNER_TEA5761 kconfig fixes

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>

authored by

Adrian Bunk and committed by
Mauro Carvalho Chehab
8fb2191a 51b54029

+3 -4
+2 -1
drivers/media/video/Kconfig
··· 490 490 If in doubt, say N. 491 491 492 492 config TUNER_TEA5761 493 - tristate "TEA 5761 radio tuner (EXPERIMENTAL)" 493 + bool "TEA 5761 radio tuner (EXPERIMENTAL)" 494 + depends on EXPERIMENTAL 494 495 depends on I2C 495 496 select VIDEO_TUNER 496 497 help
+1 -3
drivers/media/video/Makefile
··· 7 7 tuner-objs := tuner-core.o tuner-types.o tuner-simple.o \ 8 8 mt20xx.o tda8290.o tea5767.o tda9887.o 9 9 10 - ifneq ($(CONFIG_TUNER_TEA5761),) 11 - tuner-objs += tea5761.o 12 - endif 10 + tuner-$(CONFIG_TUNER_TEA5761) += tea5761.o 13 11 14 12 msp3400-objs := msp3400-driver.o msp3400-kthreads.o 15 13