Skip to content

Commit 6b6bcb1

Browse files
Jan Engelhardtmchehab
authored andcommitted
V4L/DVB (5599): Use menuconfig objects II - DVB
Change Kconfig objects from "menu, config" into "menuconfig" so that the user can disable the whole feature without having to enter the menu first. Also remove one indirection (CONFIG_DVB) that does not seem to be really used inside the kernel. Signed-off-by: Jan Engelhardt <jengelh@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
1 parent 910a7b6 commit 6b6bcb1

3 files changed

Lines changed: 14 additions & 23 deletions

File tree

‎drivers/media/Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
obj-y := common/
66
obj-$(CONFIG_VIDEO_DEV) += video/
77
obj-$(CONFIG_VIDEO_DEV) += radio/
8-
obj-$(CONFIG_DVB) += dvb/
8+
obj-$(CONFIG_DVB_CORE) += dvb/

‎drivers/media/dvb/Kconfig‎

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,6 @@
22
# Multimedia device configuration
33
#
44

5-
menu "Digital Video Broadcasting Devices"
6-
7-
config DVB
8-
bool "DVB For Linux"
9-
depends on NET && INET
10-
---help---
11-
Support Digital Video Broadcasting hardware. Enable this if you
12-
own a DVB adapter and want to use it or if you compile Linux for
13-
a digital SetTopBox.
14-
15-
API specs and user tools are available from <http://www.linuxtv.org/>.
16-
17-
Please report problems regarding this driver to the LinuxDVB
18-
mailing list.
19-
20-
If unsure say N.
21-
225
source "drivers/media/dvb/dvb-core/Kconfig"
236

247
comment "Supported SAA7146 based PCI Adapters"
@@ -47,5 +30,3 @@ source "drivers/media/dvb/pluto2/Kconfig"
4730
comment "Supported DVB Frontends"
4831
depends on DVB_CORE
4932
source "drivers/media/dvb/frontends/Kconfig"
50-
51-
endmenu

‎drivers/media/dvb/dvb-core/Kconfig‎

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,22 @@
1-
config DVB_CORE
2-
tristate "DVB Core Support"
3-
depends on DVB
1+
menuconfig DVB_CORE
2+
tristate "DVB for Linux"
3+
depends on NET && INET
44
select CRC32
55
help
6+
Support Digital Video Broadcasting hardware. Enable this if you
7+
own a DVB adapter and want to use it or if you compile Linux for
8+
a digital SetTopBox.
9+
610
DVB core utility functions for device handling, software fallbacks etc.
711
Say Y when you have a DVB card and want to use it. Say Y if your want
812
to build your drivers outside the kernel, but need the DVB core. All
913
in-kernel drivers will select this automatically if needed.
14+
15+
API specs and user tools are available from <http://www.linuxtv.org/>.
16+
17+
Please report problems regarding this driver to the LinuxDVB
18+
mailing list.
19+
1020
If unsure say N.
1121

1222
config DVB_CORE_ATTACH

0 commit comments

Comments
 (0)