From patchwork Thu Mar 18 09:18:56 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guennadi Liakhovetski X-Patchwork-Id: 86648 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o2I9J4of026180 for ; Thu, 18 Mar 2010 09:19:05 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751867Ab0CRJSz (ORCPT ); Thu, 18 Mar 2010 05:18:55 -0400 Received: from mail.gmx.net ([213.165.64.20]:60964 "HELO mail.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751284Ab0CRJSy (ORCPT ); Thu, 18 Mar 2010 05:18:54 -0400 Received: (qmail invoked by alias); 18 Mar 2010 09:18:52 -0000 Received: from p57BD1C95.dip0.t-ipconnect.de (EHLO axis700.grange) [87.189.28.149] by mail.gmx.net (mp071) with SMTP; 18 Mar 2010 10:18:52 +0100 X-Authenticated: #20450766 X-Provags-ID: V01U2FsdGVkX1/LdqQ/C+XLOpnMWGOIhTDS0Xl91viSSAqRyn4732 VG14J6jOGIh8L9 Received: from lyakh (helo=localhost) by axis700.grange with local-esmtp (Exim 4.63) (envelope-from ) id 1NsBsW-0001Q0-MO; Thu, 18 Mar 2010 10:18:56 +0100 Date: Thu, 18 Mar 2010 10:18:56 +0100 (CET) From: Guennadi Liakhovetski To: Linux Media Mailing List cc: Mauro Carvalho Chehab , Hans Verkuil , linux-embedded@vger.kernel.org Subject: [PATCH} V4L: do not autoselect components on embedded systems Message-ID: MIME-Version: 1.0 X-Y-GMX-Trusted: 0 X-FuHaFi: 0.46999999999999997 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Thu, 18 Mar 2010 09:19:05 +0000 (UTC) diff --git a/drivers/media/common/tuners/Kconfig b/drivers/media/common/tuners/Kconfig index 409a426..b3ed5da 100644 --- a/drivers/media/common/tuners/Kconfig +++ b/drivers/media/common/tuners/Kconfig @@ -34,7 +34,7 @@ config MEDIA_TUNER menuconfig MEDIA_TUNER_CUSTOMISE bool "Customize analog and hybrid tuner modules to build" depends on MEDIA_TUNER - default n + default y if EMBEDDED help This allows the user to deselect tuner drivers unnecessary for their hardware from the build. Use this option with care diff --git a/drivers/media/dvb/frontends/Kconfig b/drivers/media/dvb/frontends/Kconfig index cd7f9b7..bed1a83 100644 --- a/drivers/media/dvb/frontends/Kconfig +++ b/drivers/media/dvb/frontends/Kconfig @@ -1,7 +1,7 @@ config DVB_FE_CUSTOMISE bool "Customise the frontend modules to build" depends on DVB_CORE - default N + default y if EMBEDDED help This allows the user to select/deselect frontend drivers for their hardware from the build. diff --git a/drivers/media/video/Kconfig b/drivers/media/video/Kconfig index 73d1465..dc63311 100644 --- a/drivers/media/video/Kconfig +++ b/drivers/media/video/Kconfig @@ -83,7 +83,7 @@ config VIDEO_HELPER_CHIPS_AUTO_DISABLE config VIDEO_HELPER_CHIPS_AUTO bool "Autoselect pertinent encoders/decoders and other helper chips" depends on !VIDEO_HELPER_CHIPS_AUTO_DISABLE - default y + default y if !EMBEDDED ---help--- Most video cards may require additional modules to encode or decode audio/video standards. This option will autoselect