From patchwork Wed Feb 5 15:56:13 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcus Folkesson X-Patchwork-Id: 3586841 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 2F157C02DC for ; Wed, 5 Feb 2014 15:57:19 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6D76B2017B for ; Wed, 5 Feb 2014 15:57:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9F4E620165 for ; Wed, 5 Feb 2014 15:57:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751769AbaBEP4m (ORCPT ); Wed, 5 Feb 2014 10:56:42 -0500 Received: from mail-la0-f47.google.com ([209.85.215.47]:54228 "EHLO mail-la0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751425AbaBEP4m (ORCPT ); Wed, 5 Feb 2014 10:56:42 -0500 Received: by mail-la0-f47.google.com with SMTP id hr17so473758lab.34 for ; Wed, 05 Feb 2014 07:56:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=gMuTsaM2wot9SJqSRHYtGoYvvrNObKZtu+84nNJr4Ew=; b=RkI2pKCVyaV7uvLCaUqBEvihfikoFUwXq2u1i7StWf3R+lxxIoVHFPzRrpHHEGzEvf Xej7EKn+XxVZ/zBZFCWwV7FBOoCY7yEYi0RlZkzvSZFu6IYhNkV+3ct1ZOsY81v4/nuY CmnAYezS6Gd0DBj+8Ctl5Q3NGSBe/Dg10GLR76QXWAM7pbB6UaXK3vqeFXpKF7XNIPCN utTv8bNGhLkWeymQ+1fdOkGVgeOsvq4FgbDt/nUYyecTnK29Vodol5HEyr8fXmiT2VhI kEMzPiHJDLhHzV9FfhfxQRNxRFcpEl2GExCbxnbg11DPMubkvWwEczY44uCJms4dx8KP 2Q2g== X-Received: by 10.152.5.101 with SMTP id r5mr1629773lar.56.1391615800644; Wed, 05 Feb 2014 07:56:40 -0800 (PST) Received: from localhost.localdomain (host-206-12.wetternet.net. [80.244.206.12]) by mx.google.com with ESMTPSA id dm8sm41300691lad.7.2014.02.05.07.56.39 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 05 Feb 2014 07:56:39 -0800 (PST) From: Marcus Folkesson To: Mauro Carvalho Chehab , Hans Verkuil , , Martin Bugge , Sylwester Nawrocki Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, Marcus Folkesson Subject: [PATCH] media: i2c: Kconfig: create dependency to MEDIA_CONTROLLER for adv7* Date: Wed, 5 Feb 2014 16:56:13 +0100 Message-Id: <1391615773-26467-1-git-send-email-marcus.folkesson@gmail.com> X-Mailer: git-send-email 1.7.10.4 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP These chips makes use of the media_entity in the v4l2_subdev struct and is therefor dependent of the MEDIA_CONTROLLER config. Signed-off-by: Marcus Folkesson --- drivers/media/i2c/Kconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/media/i2c/Kconfig b/drivers/media/i2c/Kconfig index d18be19..1771b77 100644 --- a/drivers/media/i2c/Kconfig +++ b/drivers/media/i2c/Kconfig @@ -196,7 +196,7 @@ config VIDEO_ADV7183 config VIDEO_ADV7604 tristate "Analog Devices ADV7604 decoder" - depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API + depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API && MEDIA_CONTROLLER ---help--- Support for the Analog Devices ADV7604 video decoder. @@ -208,7 +208,7 @@ config VIDEO_ADV7604 config VIDEO_ADV7842 tristate "Analog Devices ADV7842 decoder" - depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API + depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API && MEDIA_CONTROLLER ---help--- Support for the Analog Devices ADV7842 video decoder. @@ -431,7 +431,7 @@ config VIDEO_ADV7393 config VIDEO_ADV7511 tristate "Analog Devices ADV7511 encoder" - depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API + depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API && MEDIA_CONTROLLER ---help--- Support for the Analog Devices ADV7511 video encoder.