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

From: Lecopzer Chen
Date: Wed Nov 03 2021 - 03:57:40 EST


A case in Android GKI set MEDIA_SUPPORT to y but we need 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>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xxxxxxxxx>
---
drivers/media/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/media/Kconfig b/drivers/media/Kconfig
index b07812657cee..f2d1d7fdcea1 100644
--- a/drivers/media/Kconfig
+++ b/drivers/media/Kconfig
@@ -179,7 +179,7 @@ config MEDIA_CONTROLLER
#

config DVB_CORE
- tristate
+ tristate "DVB core"
depends on MEDIA_DIGITAL_TV_SUPPORT
depends on (I2C || I2C=n)
default MEDIA_DIGITAL_TV_SUPPORT
--
2.18.0