media: Kconfig: simplify some dependencies

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>
This commit is contained in:
Mauro Carvalho Chehab 2020-03-25 09:59:18 +01:00
Родитель 97b19498dc
Коммит a832862295
1 изменённых файлов: 0 добавлений и 2 удалений

Просмотреть файл

@ -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