Skip to content

Commit 561b29e

Browse files
Hans Verkuilmchehab
authored andcommitted
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>
1 parent 201c799 commit 561b29e

8 files changed

Lines changed: 28 additions & 29 deletions

File tree

‎drivers/media/dvb-frontends/Kconfig‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ config DVB_STB6000
173173
tristate "ST STB6000 silicon tuner"
174174
depends on DVB_CORE && I2C
175175
default m if !MEDIA_SUBDRV_AUTOSELECT
176-
help
176+
help
177177
A DVB-S silicon tuner module. Say Y when you want to support this tuner.
178178

179179
config DVB_STV0299
@@ -187,7 +187,7 @@ config DVB_STV6110
187187
tristate "ST STV6110 silicon tuner"
188188
depends on DVB_CORE && I2C
189189
default m if !MEDIA_SUBDRV_AUTOSELECT
190-
help
190+
help
191191
A DVB-S silicon tuner module. Say Y when you want to support this tuner.
192192

193193
config DVB_STV0900
@@ -902,7 +902,7 @@ config DVB_HELENE
902902
depends on DVB_CORE && I2C
903903
default m if !MEDIA_SUBDRV_AUTOSELECT
904904
help
905-
Say Y when you want to support this frontend.
905+
Say Y when you want to support this frontend.
906906

907907
comment "Tools to develop new frontends"
908908

‎drivers/media/pci/b2c2/Kconfig‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ config DVB_B2C2_FLEXCOP_PCI_DEBUG
1111
depends on DVB_B2C2_FLEXCOP_PCI
1212
select DVB_B2C2_FLEXCOP_DEBUG
1313
help
14-
Say Y if you want to enable the module option to control debug messages
15-
of all B2C2 FlexCop drivers.
14+
Say Y if you want to enable the module option to control debug messages
15+
of all B2C2 FlexCop drivers.
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
config DVB_NETUP_UNIDVB
22
tristate "NetUP Universal DVB card support"
33
depends on DVB_CORE && VIDEO_DEV && PCI && I2C && SPI_MASTER
4-
select VIDEOBUF2_DVB
5-
select VIDEOBUF2_VMALLOC
4+
select VIDEOBUF2_DVB
5+
select VIDEOBUF2_VMALLOC
66
select DVB_HORUS3A if MEDIA_SUBDRV_AUTOSELECT
77
select DVB_ASCOT2E if MEDIA_SUBDRV_AUTOSELECT
88
select DVB_HELENE if MEDIA_SUBDRV_AUTOSELECT
99
select DVB_LNBH25 if MEDIA_SUBDRV_AUTOSELECT
1010
select DVB_CXD2841ER if MEDIA_SUBDRV_AUTOSELECT
1111
---help---
1212
Support for NetUP PCI express Universal DVB card.
13-
help
14-
Say Y when you want to support NetUP Dual Universal DVB card
15-
Card can receive two independent streams in following standards:
13+
14+
Say Y when you want to support NetUP Dual Universal DVB card.
15+
Card can receive two independent streams in following standards:
1616
DVB-S/S2, T/T2, C/C2
17-
Two CI slots available for CAM modules.
17+
Two CI slots available for CAM modules.

‎drivers/media/platform/exynos4-is/Kconfig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ config VIDEO_EXYNOS4_ISP_DMA_CAPTURE
7676
depends on VIDEO_EXYNOS4_FIMC_IS
7777
select VIDEO_EXYNOS4_IS_COMMON
7878
default y
79-
help
79+
help
8080
This option enables an additional video device node exposing a V4L2
8181
video capture interface for the FIMC-IS ISP raw (Bayer) capture DMA.
8282

‎drivers/media/radio/wl128x/Kconfig‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ config RADIO_WL128X
77
depends on VIDEO_V4L2 && RFKILL && TTY && TI_ST
88
depends on GPIOLIB || COMPILE_TEST
99
help
10-
Choose Y here if you have this FM radio chip.
10+
Choose Y here if you have this FM radio chip.
1111

12-
In order to control your radio card, you will need to use programs
13-
that are compatible with the Video For Linux 2 API. Information on
14-
this API and pointers to "v4l2" programs may be found at
15-
<file:Documentation/video4linux/API.html>.
12+
In order to control your radio card, you will need to use programs
13+
that are compatible with the Video For Linux 2 API. Information on
14+
this API and pointers to "v4l2" programs may be found at
15+
<file:Documentation/video4linux/API.html>.
1616

1717
endmenu

‎drivers/media/usb/b2c2/Kconfig‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ config DVB_B2C2_FLEXCOP_USB_DEBUG
1010
bool "Enable debug for the B2C2 FlexCop drivers"
1111
depends on DVB_B2C2_FLEXCOP_USB
1212
select DVB_B2C2_FLEXCOP_DEBUG
13-
help
14-
Say Y if you want to enable the module option to control debug messages
15-
of all B2C2 FlexCop drivers.
13+
help
14+
Say Y if you want to enable the module option to control debug messages
15+
of all B2C2 FlexCop drivers.

‎drivers/media/usb/gspca/Kconfig‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -204,11 +204,11 @@ config USB_GSPCA_SE401
204204
tristate "SE401 USB Camera Driver"
205205
depends on VIDEO_V4L2 && USB_GSPCA
206206
help
207-
Say Y here if you want support for cameras based on the
208-
Endpoints (formerly known as AOX) se401 chip.
207+
Say Y here if you want support for cameras based on the
208+
Endpoints (formerly known as AOX) se401 chip.
209209

210-
To compile this driver as a module, choose M here: the
211-
module will be called gspca_se401.
210+
To compile this driver as a module, choose M here: the
211+
module will be called gspca_se401.
212212

213213
config USB_GSPCA_SN9C2028
214214
tristate "SONIX Dual-Mode USB Camera Driver"
@@ -224,11 +224,11 @@ config USB_GSPCA_SN9C20X
224224
tristate "SN9C20X USB Camera Driver"
225225
depends on VIDEO_V4L2 && USB_GSPCA
226226
help
227-
Say Y here if you want support for cameras based on the
228-
sn9c20x chips (SN9C201 and SN9C202).
227+
Say Y here if you want support for cameras based on the
228+
sn9c20x chips (SN9C201 and SN9C202).
229229

230-
To compile this driver as a module, choose M here: the
231-
module will be called gspca_sn9c20x.
230+
To compile this driver as a module, choose M here: the
231+
module will be called gspca_sn9c20x.
232232

233233
config USB_GSPCA_SONIXB
234234
tristate "SONIX Bayer USB Camera Driver"

‎drivers/media/usb/pvrusb2/Kconfig‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ config VIDEO_PVRUSB2_DVB
4444
select MEDIA_TUNER_SIMPLE if MEDIA_SUBDRV_AUTOSELECT
4545
select MEDIA_TUNER_TDA8290 if MEDIA_SUBDRV_AUTOSELECT
4646
---help---
47-
4847
This option enables a DVB interface for the pvrusb2 driver.
4948
If your device does not support digital television, this
5049
feature will have no affect on the driver's operation.

0 commit comments

Comments
 (0)