diff mbox

media: one kconfig controls them all

Message ID 20090518180034.cc38cb53.randy.dunlap@oracle.com (mailing list archive)
State Accepted
Headers show

Commit Message

Randy Dunlap May 19, 2009, 1 a.m. UTC
From: Randy Dunlap <randy.dunlap@oracle.com>

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

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
 drivers/media/Kconfig |   10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

--- lnx-2630-rc3.orig/drivers/media/Kconfig
+++ lnx-2630-rc3/drivers/media/Kconfig
@@ -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