Skip to content

Commit

Permalink
V4L/DVB (5599): Use menuconfig objects II - DVB
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jan Engelhardt authored and Mauro Carvalho Chehab committed May 9, 2007
1 parent 910a7b6 commit 6b6bcb1
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 23 deletions.
2 changes: 1 addition & 1 deletion drivers/media/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
obj-y := common/
obj-$(CONFIG_VIDEO_DEV) += video/
obj-$(CONFIG_VIDEO_DEV) += radio/
obj-$(CONFIG_DVB) += dvb/
obj-$(CONFIG_DVB_CORE) += dvb/
19 changes: 0 additions & 19 deletions drivers/media/dvb/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,6 @@
# Multimedia device configuration
#

menu "Digital Video Broadcasting Devices"

config DVB
bool "DVB For Linux"
depends on NET && INET
---help---
Support Digital Video Broadcasting hardware. Enable this if you
own a DVB adapter and want to use it or if you compile Linux for
a digital SetTopBox.

API specs and user tools are available from <http://www.linuxtv.org/>.

Please report problems regarding this driver to the LinuxDVB
mailing list.

If unsure say N.

source "drivers/media/dvb/dvb-core/Kconfig"

comment "Supported SAA7146 based PCI Adapters"
Expand Down Expand Up @@ -47,5 +30,3 @@ source "drivers/media/dvb/pluto2/Kconfig"
comment "Supported DVB Frontends"
depends on DVB_CORE
source "drivers/media/dvb/frontends/Kconfig"

endmenu
16 changes: 13 additions & 3 deletions drivers/media/dvb/dvb-core/Kconfig
Original file line number Diff line number Diff line change
@@ -1,12 +1,22 @@
config DVB_CORE
tristate "DVB Core Support"
depends on DVB
menuconfig DVB_CORE
tristate "DVB for Linux"
depends on NET && INET
select CRC32
help
Support Digital Video Broadcasting hardware. Enable this if you
own a DVB adapter and want to use it or if you compile Linux for
a digital SetTopBox.

DVB core utility functions for device handling, software fallbacks etc.
Say Y when you have a DVB card and want to use it. Say Y if your want
to build your drivers outside the kernel, but need the DVB core. All
in-kernel drivers will select this automatically if needed.

API specs and user tools are available from <http://www.linuxtv.org/>.

Please report problems regarding this driver to the LinuxDVB
mailing list.

If unsure say N.

config DVB_CORE_ATTACH
Expand Down

0 comments on commit 6b6bcb1

Please sign in to comment.