aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/media/Kconfig
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-03-24 10:03:16 +0100
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-04-14 10:29:04 +0200
commita19f228b8dd9a67e8de4ebd4eac8a4c94ec39d1a (patch)
tree65e553cf45fc689b7d8af16ad14577d523840da6 /drivers/media/Kconfig
parentmedia: Kconfig: add an option to filter in/out platform drivers (diff)
downloadwireguard-linux-a19f228b8dd9a67e8de4ebd4eac8a4c94ec39d1a.tar.xz
wireguard-linux-a19f228b8dd9a67e8de4ebd4eac8a4c94ec39d1a.zip
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: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/media/Kconfig')
-rw-r--r--drivers/media/Kconfig3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/Kconfig b/drivers/media/Kconfig
index 2b6ea8beb919..31fbdb2a8d41 100644
--- a/drivers/media/Kconfig
+++ b/drivers/media/Kconfig
@@ -111,8 +111,7 @@ source "drivers/media/mc/Kconfig"
config VIDEO_DEV
tristate
depends on MEDIA_SUPPORT
- depends on MEDIA_CAMERA_SUPPORT || MEDIA_ANALOG_TV_SUPPORT || MEDIA_RADIO_SUPPORT || MEDIA_SDR_SUPPORT
- default y
+ default MEDIA_CAMERA_SUPPORT || MEDIA_ANALOG_TV_SUPPORT || MEDIA_RADIO_SUPPORT || MEDIA_SDR_SUPPORT || MEDIA_PLATFORM_SUPPORT
config VIDEO_V4L2_SUBDEV_API
bool "V4L2 sub-device userspace API"