diff mbox series

[v4,14/33] media: Kconfig: simplify some dependencies

Message ID 9b0c6c97a54e471e3d773256cd42fbc0e53ee368.1585651678.git.mchehab+huawei@kernel.org
State New
Headers show
Series Media Kconfig menu reorg and improvements | expand

Commit Message

Mauro Carvalho Chehab March 31, 2020, 11:11 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 dc0cc42d48ad..f6763d02f1be 100644
--- a/drivers/media/Kconfig
+++ b/drivers/media/Kconfig
@@ -125,7 +125,6 @@  source "drivers/media/mc/Kconfig"
 
 config VIDEO_DEV
 	tristate
-	depends on MEDIA_SUPPORT
 	default MEDIA_CAMERA_SUPPORT || MEDIA_ANALOG_TV_SUPPORT || MEDIA_RADIO_SUPPORT || MEDIA_SDR_SUPPORT || MEDIA_PLATFORM_SUPPORT
 
 config VIDEO_V4L2_SUBDEV_API
@@ -146,7 +145,6 @@  source "drivers/media/v4l2-core/Kconfig"
 
 config DVB_CORE
 	tristate
-	depends on MEDIA_SUPPORT
 	depends on MEDIA_DIGITAL_TV_SUPPORT
 	depends on (I2C || I2C=n)
 	default y