media: fix media Kconfig help syntax issues

The help text should be indented by at least two spaces after the
'help' separator. This is both good practice and the media_build system
for building media drivers makes this assumption.

I went through all Kconfigs under drivers/media and fixed any bad help
sections. This makes it conform to the common practice and should fix
problems with 'make menuconfig' when using media_build. This is due to
a "WARNING" message that media_build can insert in the Kconfig and that
assumes the help text is indented by at least two spaces. If not, then the
Kconfig becomes invalid and 'make menuconfig' fails.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Reported-by: Thomas Kaiser <linux-dvb@kaiser-linux.li>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
Hans Verkuil 2017-08-30 04:47:21 -04:00 committed by Mauro Carvalho Chehab
parent 201c799637
commit 561b29e4ec
8 changed files with 28 additions and 29 deletions

View File

@ -173,7 +173,7 @@ config DVB_STB6000
tristate "ST STB6000 silicon tuner" tristate "ST STB6000 silicon tuner"
depends on DVB_CORE && I2C depends on DVB_CORE && I2C
default m if !MEDIA_SUBDRV_AUTOSELECT default m if !MEDIA_SUBDRV_AUTOSELECT
help help
A DVB-S silicon tuner module. Say Y when you want to support this tuner. A DVB-S silicon tuner module. Say Y when you want to support this tuner.
config DVB_STV0299 config DVB_STV0299
@ -187,7 +187,7 @@ config DVB_STV6110
tristate "ST STV6110 silicon tuner" tristate "ST STV6110 silicon tuner"
depends on DVB_CORE && I2C depends on DVB_CORE && I2C
default m if !MEDIA_SUBDRV_AUTOSELECT default m if !MEDIA_SUBDRV_AUTOSELECT
help help
A DVB-S silicon tuner module. Say Y when you want to support this tuner. A DVB-S silicon tuner module. Say Y when you want to support this tuner.
config DVB_STV0900 config DVB_STV0900
@ -902,7 +902,7 @@ config DVB_HELENE
depends on DVB_CORE && I2C depends on DVB_CORE && I2C
default m if !MEDIA_SUBDRV_AUTOSELECT default m if !MEDIA_SUBDRV_AUTOSELECT
help help
Say Y when you want to support this frontend. Say Y when you want to support this frontend.
comment "Tools to develop new frontends" comment "Tools to develop new frontends"

View File

@ -11,5 +11,5 @@ config DVB_B2C2_FLEXCOP_PCI_DEBUG
depends on DVB_B2C2_FLEXCOP_PCI depends on DVB_B2C2_FLEXCOP_PCI
select DVB_B2C2_FLEXCOP_DEBUG select DVB_B2C2_FLEXCOP_DEBUG
help help
Say Y if you want to enable the module option to control debug messages Say Y if you want to enable the module option to control debug messages
of all B2C2 FlexCop drivers. of all B2C2 FlexCop drivers.

View File

@ -1,8 +1,8 @@
config DVB_NETUP_UNIDVB config DVB_NETUP_UNIDVB
tristate "NetUP Universal DVB card support" tristate "NetUP Universal DVB card support"
depends on DVB_CORE && VIDEO_DEV && PCI && I2C && SPI_MASTER depends on DVB_CORE && VIDEO_DEV && PCI && I2C && SPI_MASTER
select VIDEOBUF2_DVB select VIDEOBUF2_DVB
select VIDEOBUF2_VMALLOC select VIDEOBUF2_VMALLOC
select DVB_HORUS3A if MEDIA_SUBDRV_AUTOSELECT select DVB_HORUS3A if MEDIA_SUBDRV_AUTOSELECT
select DVB_ASCOT2E if MEDIA_SUBDRV_AUTOSELECT select DVB_ASCOT2E if MEDIA_SUBDRV_AUTOSELECT
select DVB_HELENE if MEDIA_SUBDRV_AUTOSELECT select DVB_HELENE if MEDIA_SUBDRV_AUTOSELECT
@ -10,8 +10,8 @@ config DVB_NETUP_UNIDVB
select DVB_CXD2841ER if MEDIA_SUBDRV_AUTOSELECT select DVB_CXD2841ER if MEDIA_SUBDRV_AUTOSELECT
---help--- ---help---
Support for NetUP PCI express Universal DVB card. Support for NetUP PCI express Universal DVB card.
help
Say Y when you want to support NetUP Dual Universal DVB card Say Y when you want to support NetUP Dual Universal DVB card.
Card can receive two independent streams in following standards: Card can receive two independent streams in following standards:
DVB-S/S2, T/T2, C/C2 DVB-S/S2, T/T2, C/C2
Two CI slots available for CAM modules. Two CI slots available for CAM modules.

View File

@ -76,7 +76,7 @@ config VIDEO_EXYNOS4_ISP_DMA_CAPTURE
depends on VIDEO_EXYNOS4_FIMC_IS depends on VIDEO_EXYNOS4_FIMC_IS
select VIDEO_EXYNOS4_IS_COMMON select VIDEO_EXYNOS4_IS_COMMON
default y default y
help help
This option enables an additional video device node exposing a V4L2 This option enables an additional video device node exposing a V4L2
video capture interface for the FIMC-IS ISP raw (Bayer) capture DMA. video capture interface for the FIMC-IS ISP raw (Bayer) capture DMA.

View File

@ -7,11 +7,11 @@ config RADIO_WL128X
depends on VIDEO_V4L2 && RFKILL && TTY && TI_ST depends on VIDEO_V4L2 && RFKILL && TTY && TI_ST
depends on GPIOLIB || COMPILE_TEST depends on GPIOLIB || COMPILE_TEST
help help
Choose Y here if you have this FM radio chip. Choose Y here if you have this FM radio chip.
In order to control your radio card, you will need to use programs In order to control your radio card, you will need to use programs
that are compatible with the Video For Linux 2 API. Information on that are compatible with the Video For Linux 2 API. Information on
this API and pointers to "v4l2" programs may be found at this API and pointers to "v4l2" programs may be found at
<file:Documentation/video4linux/API.html>. <file:Documentation/video4linux/API.html>.
endmenu endmenu

View File

@ -10,6 +10,6 @@ config DVB_B2C2_FLEXCOP_USB_DEBUG
bool "Enable debug for the B2C2 FlexCop drivers" bool "Enable debug for the B2C2 FlexCop drivers"
depends on DVB_B2C2_FLEXCOP_USB depends on DVB_B2C2_FLEXCOP_USB
select DVB_B2C2_FLEXCOP_DEBUG select DVB_B2C2_FLEXCOP_DEBUG
help help
Say Y if you want to enable the module option to control debug messages Say Y if you want to enable the module option to control debug messages
of all B2C2 FlexCop drivers. of all B2C2 FlexCop drivers.

View File

@ -204,11 +204,11 @@ config USB_GSPCA_SE401
tristate "SE401 USB Camera Driver" tristate "SE401 USB Camera Driver"
depends on VIDEO_V4L2 && USB_GSPCA depends on VIDEO_V4L2 && USB_GSPCA
help help
Say Y here if you want support for cameras based on the Say Y here if you want support for cameras based on the
Endpoints (formerly known as AOX) se401 chip. Endpoints (formerly known as AOX) se401 chip.
To compile this driver as a module, choose M here: the To compile this driver as a module, choose M here: the
module will be called gspca_se401. module will be called gspca_se401.
config USB_GSPCA_SN9C2028 config USB_GSPCA_SN9C2028
tristate "SONIX Dual-Mode USB Camera Driver" tristate "SONIX Dual-Mode USB Camera Driver"
@ -224,11 +224,11 @@ config USB_GSPCA_SN9C20X
tristate "SN9C20X USB Camera Driver" tristate "SN9C20X USB Camera Driver"
depends on VIDEO_V4L2 && USB_GSPCA depends on VIDEO_V4L2 && USB_GSPCA
help help
Say Y here if you want support for cameras based on the Say Y here if you want support for cameras based on the
sn9c20x chips (SN9C201 and SN9C202). sn9c20x chips (SN9C201 and SN9C202).
To compile this driver as a module, choose M here: the To compile this driver as a module, choose M here: the
module will be called gspca_sn9c20x. module will be called gspca_sn9c20x.
config USB_GSPCA_SONIXB config USB_GSPCA_SONIXB
tristate "SONIX Bayer USB Camera Driver" tristate "SONIX Bayer USB Camera Driver"

View File

@ -44,7 +44,6 @@ config VIDEO_PVRUSB2_DVB
select MEDIA_TUNER_SIMPLE if MEDIA_SUBDRV_AUTOSELECT select MEDIA_TUNER_SIMPLE if MEDIA_SUBDRV_AUTOSELECT
select MEDIA_TUNER_TDA8290 if MEDIA_SUBDRV_AUTOSELECT select MEDIA_TUNER_TDA8290 if MEDIA_SUBDRV_AUTOSELECT
---help--- ---help---
This option enables a DVB interface for the pvrusb2 driver. This option enables a DVB interface for the pvrusb2 driver.
If your device does not support digital television, this If your device does not support digital television, this
feature will have no affect on the driver's operation. feature will have no affect on the driver's operation.