[media] V4L menu: add submenu for platform devices
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
diff --git a/drivers/media/video/Kconfig b/drivers/media/video/Kconfig
index b43366a..4e8a0c4 100644
--- a/drivers/media/video/Kconfig
+++ b/drivers/media/video/Kconfig
@@ -816,6 +816,14 @@
endif # V4L_ISA_PARPORT_DRIVERS
+menuconfig V4L_PLATFORM_DRIVERS
+ bool "V4L platform devices"
+ default n
+ ---help---
+ Say Y here to enable support for platform-specific V4L drivers.
+
+if V4L_PLATFORM_DRIVERS
+
source "drivers/media/video/marvell-ccic/Kconfig"
config VIDEO_VIA_CAMERA
@@ -1110,6 +1118,7 @@
source "drivers/media/video/s5p-tv/Kconfig"
+endif # V4L_PLATFORM_DRIVERS
endif # VIDEO_CAPTURE_DRIVERS
menuconfig V4L_MEM2MEM_DRIVERS