From patchwork Tue Jan 26 14:10:01 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 101083 Delivered-To: patch@linaro.org Received: by 10.112.130.2 with SMTP id oa2csp1981769lbb; Tue, 26 Jan 2016 06:12:45 -0800 (PST) X-Received: by 10.66.65.203 with SMTP id z11mr34276753pas.152.1453817562476; Tue, 26 Jan 2016 06:12:42 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v86si2334071pfi.16.2016.01.26.06.12.42; Tue, 26 Jan 2016 06:12:42 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-media-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-media-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-media-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757493AbcAZOMg (ORCPT + 4 others); Tue, 26 Jan 2016 09:12:36 -0500 Received: from mout.kundenserver.de ([212.227.17.10]:51116 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757356AbcAZOMc (ORCPT ); Tue, 26 Jan 2016 09:12:32 -0500 Received: from wuerfel.lan. ([78.42.132.4]) by mrelayeu.kundenserver.de (mreue101) with ESMTPA (Nemesis) id 0LoYQs-1Zv1vH1l3i-00gbLN; Tue, 26 Jan 2016 15:12:01 +0100 From: Arnd Bergmann To: Hans Verkuil , Mauro Carvalho Chehab Cc: linux-arm-kernel@lists.infradead.org, Arnd Bergmann , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 7/7] [media] go7007: add MEDIA_CAMERA_SUPPORT dependency Date: Tue, 26 Jan 2016 15:10:01 +0100 Message-Id: <1453817424-3080054-7-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1453817424-3080054-1-git-send-email-arnd@arndb.de> References: <1453817424-3080054-1-git-send-email-arnd@arndb.de> X-Provags-ID: V03:K0:ZFGoTTA2+7o6lE+XVAo4l8ByKyK6tmoF07T+At+NvVa/ivzrNbD p7OuCQ8FQ5Uea+bOK1WOnJyjFS7hTnyFQ65H3nJX4tJrNeEE2bMOiop7TRAmXUMwjOdxxoB 5x8cigRlDH277sG8h8eD2lA2m5hBd+mlH+lsGMtwKlHzhr9x4BOkZ0Fj9eBuzfDiWLWS1Zz v5RZ6U5k740HM4ZeAOQPg== X-UI-Out-Filterresults: notjunk:1; V01:K0:loNQKUou3JQ=:oBtffGTkoOkUndcQy6/2wP yQbnNyS4jNfSThiXC8acPw1gFYp6MIrHp9g4y2KvjaUv/QCU2U7F5L9EqQaPyp7geQS7b/N9c KKbcLLN7DElOF9jSgnMvvWfeTzrro8JsX36YJkrTrjDPvPi05s7k76NYKut8USXzs8xP49Wea BIFBjQf46UbFezwWpoMPF9iQZIBpDipaKtvhmJ2Z/mCIjENgOF7d/ZlxUv745iZQDxy3TTQhn vYaXZxNZUH1p2VnKb5H6zQZoCxrVzNqf4PmcKiLCphaV45uQR5TlmYC45sTS8OcsAB5luYnWS lONOocoJlVKvJGWr+QlTRPEinTiW4mJOrJ6FHvbUjBW8ZrujwToFKxBOXyd4BdkcwnANXeQx0 ARgSJFEasxrScgH/sLbXjye+ntfj/fxZlqdX2e6aVvsYBjp22nXd8AWlvIyStguUFv87xG+DD seLSbTZS3U45B25JiJNixrEeLmCrBwzP+4VCPHJmryjfbICWrEtb+DxksnSyppcuVRz1Y/Npp KJxkvyv7tNZMfizOgEHnCOcPbYMWShgWNYvXbuqvJM3E24c2sZm01wT8noq1JlOlqfkd6OjeB +N2WWKck7bsDroAVWO5EeYwtlONfb50lvAa3GtJNYLTPCRDaF1ucByccTPv96XgXtPyqZ/TLQ WiA304Fpt8BhGiAZrFzyec9kNU8UFDPBNa80AEBqLCKyekUY+WD64JweaZ5SmIQADN6s= Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org If MEDIA_SUBDRV_AUTOSELECT and VIDEO_GO7007 are both set, we automatically select VIDEO_OV7640, but that depends on MEDIA_CAMERA_SUPPORT, so we get a Kconfig warning if that is disabled: warning: (VIDEO_GO7007) selects VIDEO_OV7640 which has unmet direct dependencies (MEDIA_SUPPORT && I2C && VIDEO_V4L2 && MEDIA_CAMERA_SUPPORT) This adds another dependency so we don't accidentally select it when it is unavailable. Signed-off-by: Arnd Bergmann --- drivers/media/usb/go7007/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.0 -- 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 --git a/drivers/media/usb/go7007/Kconfig b/drivers/media/usb/go7007/Kconfig index 95a3af644a92..af1d02430931 100644 --- a/drivers/media/usb/go7007/Kconfig +++ b/drivers/media/usb/go7007/Kconfig @@ -11,7 +11,7 @@ config VIDEO_GO7007 select VIDEO_TW2804 if MEDIA_SUBDRV_AUTOSELECT select VIDEO_TW9903 if MEDIA_SUBDRV_AUTOSELECT select VIDEO_TW9906 if MEDIA_SUBDRV_AUTOSELECT - select VIDEO_OV7640 if MEDIA_SUBDRV_AUTOSELECT + select VIDEO_OV7640 if MEDIA_SUBDRV_AUTOSELECT && MEDIA_CAMERA_SUPPORT select VIDEO_UDA1342 if MEDIA_SUBDRV_AUTOSELECT ---help--- This is a video4linux driver for the WIS GO7007 MPEG