Commit a19f228b authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

media: Kconfig: not all V4L2 platform drivers are for camera

When the platform drivers got added, they were all part of
complex camera support. This is not the case anymore, as we
now have codecs and other stuff there too.

So, fix the dependencies, in order to not require users to
manually select something that it doesn't make sense.
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent 06b93644
...@@ -111,8 +111,7 @@ source "drivers/media/mc/Kconfig" ...@@ -111,8 +111,7 @@ source "drivers/media/mc/Kconfig"
config VIDEO_DEV config VIDEO_DEV
tristate tristate
depends on MEDIA_SUPPORT depends on MEDIA_SUPPORT
depends on MEDIA_CAMERA_SUPPORT || MEDIA_ANALOG_TV_SUPPORT || MEDIA_RADIO_SUPPORT || MEDIA_SDR_SUPPORT default MEDIA_CAMERA_SUPPORT || MEDIA_ANALOG_TV_SUPPORT || MEDIA_RADIO_SUPPORT || MEDIA_SDR_SUPPORT || MEDIA_PLATFORM_SUPPORT
default y
config VIDEO_V4L2_SUBDEV_API config VIDEO_V4L2_SUBDEV_API
bool "V4L2 sub-device userspace API" bool "V4L2 sub-device userspace API"
......
...@@ -5,7 +5,6 @@ ...@@ -5,7 +5,6 @@
menuconfig V4L_PLATFORM_DRIVERS menuconfig V4L_PLATFORM_DRIVERS
bool "V4L platform devices" bool "V4L platform devices"
depends on MEDIA_CAMERA_SUPPORT
help help
Say Y here to enable support for platform-specific V4L drivers. Say Y here to enable support for platform-specific V4L drivers.
...@@ -43,7 +42,6 @@ config VIDEO_ASPEED ...@@ -43,7 +42,6 @@ config VIDEO_ASPEED
config VIDEO_SH_VOU config VIDEO_SH_VOU
tristate "SuperH VOU video output driver" tristate "SuperH VOU video output driver"
depends on MEDIA_CAMERA_SUPPORT
depends on VIDEO_DEV && I2C depends on VIDEO_DEV && I2C
depends on ARCH_SHMOBILE || COMPILE_TEST depends on ARCH_SHMOBILE || COMPILE_TEST
select VIDEOBUF2_DMA_CONTIG select VIDEOBUF2_DMA_CONTIG
...@@ -165,7 +163,6 @@ endif # V4L_PLATFORM_DRIVERS ...@@ -165,7 +163,6 @@ endif # V4L_PLATFORM_DRIVERS
menuconfig V4L_MEM2MEM_DRIVERS menuconfig V4L_MEM2MEM_DRIVERS
bool "Memory-to-memory multimedia devices" bool "Memory-to-memory multimedia devices"
depends on VIDEO_V4L2 depends on VIDEO_V4L2
depends on MEDIA_CAMERA_SUPPORT
help help
Say Y here to enable selecting drivers for V4L devices that Say Y here to enable selecting drivers for V4L devices that
use system memory for both source and destination buffers, as opposed use system memory for both source and destination buffers, as opposed
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment