diff mbox series

[v3,21/22] media: Kconfig: simplify some dependencies

Message ID 5c84bcccafa952dbd3b22083bcbd3ed0eeeb4225.1585129041.git.mchehab+huawei@kernel.org
State New
Headers show
Series Reorganize media Kconfig | expand

Commit Message

Mauro Carvalho Chehab March 25, 2020, 9:49 a.m. UTC
both DVB_CORE and VIDEO_DEV already depends on MEDIA_SUPPORT,
as they're below an if block.

So, remove this double dependency.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
---
 drivers/media/Kconfig | 2 --
 1 file changed, 2 deletions(-)
diff mbox series

Patch

diff --git a/drivers/media/Kconfig b/drivers/media/Kconfig
index c900263438a7..2a69b8024a0f 100644
--- a/drivers/media/Kconfig
+++ b/drivers/media/Kconfig
@@ -156,7 +156,6 @@  menu "Media core support"
 
 config VIDEO_DEV
 	tristate "Video4Linux core"
-	depends on MEDIA_SUPPORT
 	default MEDIA_CAMERA_SUPPORT || MEDIA_ANALOG_TV_SUPPORT || MEDIA_RADIO_SUPPORT || MEDIA_SDR_SUPPORT || MEDIA_PLATFORM_SUPPORT
 	help
 	  Enables the V4L2 API, used by cameras, analog TV, video grabbers,
@@ -173,7 +172,6 @@  config MEDIA_CONTROLLER
 
 config DVB_CORE
 	tristate "Digital TV core"
-	depends on MEDIA_SUPPORT
 	default MEDIA_DIGITAL_TV_SUPPORT
 	depends on (I2C || I2C=n)
 	select CRC32