summaryrefslogtreecommitdiff
path: root/drivers/media/spi
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2016-09-15 12:18:14 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-09-19 14:37:05 -0300
commit8283a0929922b331dbd73db26520443136941c48 (patch)
tree1263bb26bb97401a2dd73e0fd9222e1bc6d06a83 /drivers/media/spi
parent7aae6e2df127f9f7a96c21e21a277dd7ff063e6a (diff)
[media] media Kconfig: improve the spi integration
The SPI driver looked a bit lonely in the config menu, and it didn't support the autoselect. Shift things around a bit so it looks more logical. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/spi')
-rw-r--r--drivers/media/spi/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/media/spi/Kconfig b/drivers/media/spi/Kconfig
index fa47c90f857d..a21f5a39a440 100644
--- a/drivers/media/spi/Kconfig
+++ b/drivers/media/spi/Kconfig
@@ -1,9 +1,14 @@
if VIDEO_V4L2
+menu "SPI helper chips"
+ visible if !MEDIA_SUBDRV_AUTOSELECT || COMPILE_TEST
+
config VIDEO_GS1662
tristate "Gennum Serializers video"
depends on SPI && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
---help---
Enable the GS1662 driver which serializes video streams.
+endmenu
+
endif