From patchwork Tue May 19 01:00:34 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 24638 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n4J0wUnk005399 for ; Tue, 19 May 2009 00:58:30 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752859AbZESA6Z (ORCPT ); Mon, 18 May 2009 20:58:25 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753245AbZESA6Z (ORCPT ); Mon, 18 May 2009 20:58:25 -0400 Received: from acsinet11.oracle.com ([141.146.126.233]:26304 "EHLO acsinet11.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752859AbZESA6Y (ORCPT ); Mon, 18 May 2009 20:58:24 -0400 Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by acsinet11.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n4J0wg5b011889 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 19 May 2009 00:58:44 GMT Received: from abhmt007.oracle.com (abhmt007.oracle.com [141.146.116.16]) by acsinet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n4J0wn5o019588; Tue, 19 May 2009 00:58:50 GMT Received: from chimera.site (/71.182.83.218) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 18 May 2009 17:58:11 -0700 Date: Mon, 18 May 2009 18:00:34 -0700 From: Randy Dunlap To: linux-media@vger.kernel.org Cc: mchehab@infradead.org Subject: [PATCH] media: one kconfig controls them all Message-Id: <20090518180034.cc38cb53.randy.dunlap@oracle.com> Organization: Oracle Linux Eng. X-Mailer: Sylpheed 2.6.0 (GTK+ 2.12.0; x86_64-unknown-linux-gnu) Mime-Version: 1.0 X-Source-IP: abhmt007.oracle.com [141.146.116.16] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090204.4A120424.0212:SCFSTAT5015188,ss=1,fgs=0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org From: Randy Dunlap Add a kconfig symbol that allows someone to disable all multimedia config options at one time. Signed-off-by: Randy Dunlap --- 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 --- 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