diff mbox series

[v4,23/33] media: Kconfig: warn if drivers are filtered

Message ID 1f246a17a838c1835ea3fd0798848c2bc7f5228b.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
As per a tester feedback, add an option to report when
the drivers are filtered at the Kconfig menu.

Cc: Helen Koike <helen.koike@collabora.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
---
 drivers/media/Kconfig | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/media/Kconfig b/drivers/media/Kconfig
index 8b070fb703f9..79aa83a966db 100644
--- a/drivers/media/Kconfig
+++ b/drivers/media/Kconfig
@@ -28,7 +28,7 @@  menuconfig MEDIA_SUPPORT
 if MEDIA_SUPPORT
 
 config MEDIA_SUPPORT_FILTER
-	bool "Filter devices by their types"
+	bool "Filter media drivers"
 	depends on MEDIA_SUPPORT
 	help
 	   Configuring the media subsystem can be complex, as there are
@@ -203,6 +203,9 @@  source "drivers/media/cec/Kconfig"
 
 comment "Media drivers"
 
+comment "Drivers filtered as selected at 'Filter media drivers'"
+	depends on MEDIA_SUPPORT_FILTER
+
 source "drivers/media/usb/Kconfig"
 source "drivers/media/pci/Kconfig"
 source "drivers/media/radio/Kconfig"