Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

media: spi: Kconfig: Place SPI drivers on a single menu

It makes no sense to have two menus for SPI drivers, each
one with a single driver. Merge them and keep the Kconfig
sorted.

Suggested-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>

+9 -17
+9 -17
drivers/media/spi/Kconfig
··· 1 1 # SPDX-License-Identifier: GPL-2.0-only 2 - if VIDEO_DEV 2 + if VIDEO_DEV && SPI 3 3 4 4 comment "SPI I2C drivers auto-selected by 'Autoselect ancillary drivers'" 5 5 depends on MEDIA_HIDE_ANCILLARY_SUBDRV && SPI 6 6 7 - menu "SPI helper chips" 8 - visible if !MEDIA_HIDE_ANCILLARY_SUBDRV 9 - 10 - config VIDEO_GS1662 11 - tristate "Gennum Serializers video" 12 - depends on SPI && VIDEO_DEV 13 - select MEDIA_CONTROLLER 14 - select VIDEO_V4L2_SUBDEV_API 15 - help 16 - Enable the GS1662 driver which serializes video streams. 17 - 18 - endmenu 19 - 20 - endif 21 - 22 - if SPI 23 7 menu "Media SPI Adapters" 24 8 25 9 config CXD2880_SPI_DRV ··· 12 28 default m if !MEDIA_SUBDRV_AUTOSELECT 13 29 help 14 30 Choose if you would like to have SPI interface support for Sony CXD2880. 31 + 32 + config VIDEO_GS1662 33 + tristate "Gennum Serializers video" 34 + depends on SPI && VIDEO_DEV 35 + select MEDIA_CONTROLLER 36 + select VIDEO_V4L2_SUBDEV_API 37 + help 38 + Enable the GS1662 driver which serializes video streams. 15 39 16 40 endmenu 17 41