Skip to contentSkip to conversation

media: one kconfig controls them all

PATCH New Randy Dunlap 1 participant 1 message May 19, 2009 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 media: one kconfig controls them all

From: Randy Dunlap <[email protected]>

Add a kconfig symbol that allows someone to disable all multimedia config options at one time.

---
 drivers/media/Kconfig |   10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)
drivers/media/Kconfig +8 -2
@@ -2,8 +2,14 @@
 # Multimedia device configuration
 #
 
-menu "Multimedia devices"
+menuconfig MEDIA_SUPPORT
+	tristate "Multimedia support"
 	depends on HAS_IOMEM
+	help
+	  If you want to use Video for Linux, DVB for Linux, or DAB adapters,
+	  enable this option and other options below.
+
+if MEDIA_SUPPORT
 
 comment "Multimedia core support"
 
@@ -136,4 +142,4 @@ config USB_DABUSB
 	  module will be called dabusb.
 endif # DAB
 
-endmenu
+endif # MEDIA_SUPPORT