[PATCH] media: Kconfig: Make DVB_CORE=m possible when MEDIA_SUPPORT=y

From: Lecopzer Chen
Date: Tue Oct 05 2021 - 06:51:28 EST


A case that we need VIDEO_DEV=y but DVB_CORE=m, and this doesn't
work since DVB_CORE is default MEDIA_DIGITAL_TV_SUPPORT and then
follows MEDIA_SUPPORT.

Change to tristate to make DVB_CORE=m possible when MEDIA_SUPPORT=y

Signed-off-by: Lecopzer Chen <lecopzer.chen@xxxxxxxxxxxx>
---
drivers/media/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/media/Kconfig b/drivers/media/Kconfig
index b07812657cee..c3baf92b4d02 100644
--- a/drivers/media/Kconfig
+++ b/drivers/media/Kconfig
@@ -88,7 +88,7 @@ config MEDIA_ANALOG_TV_SUPPORT
will disable support for them.

config MEDIA_DIGITAL_TV_SUPPORT
- bool
+ tristate
prompt "Digital TV" if MEDIA_SUPPORT_FILTER
default y if !MEDIA_SUPPORT_FILTER
help
--
2.18.0