From patchwork Mon Jan 8 12:52:28 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 123704 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp2685798qgn; Mon, 8 Jan 2018 04:53:54 -0800 (PST) X-Google-Smtp-Source: ACJfBotokM3fak0FhvfB8xZli6eQqccnY43+3TixBaDbi03DBba/mwNyAsNSsK1GhfYERPDOJe5O X-Received: by 10.84.247.1 with SMTP id n1mr12162926pll.304.1515416033964; Mon, 08 Jan 2018 04:53:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1515416033; cv=none; d=google.com; s=arc-20160816; b=pxOWZ4ObbyFqWrLCMJLvjZDvRTVDruTyAQrsYlI0hgneoJgdgpG9bFYs/lGr/jqEKg YNAy8CUtXRmwwtyoducKQo8rlMjght71pTfEHWTpDz4HspMyPHqmPjJ0W4CvlHXdH0nY 82RomwUSSWIEftef3K5Sx5viqtOSf4jabX4VUTDp3nG+pgYwOe6v3+TERB/DK7N12SWt QJODbtcLi/1F5ekwN/uIOHUSFZq1V4W7R5njqVV09FjikRR7xJmEdOoHsAQZjaU5cgDn h23zr4Wvld02PlYYfKGUCvXlCJUTmmSqAKIRqts3WNQ9isyK5/GhTb8GChkSXUOp5COH 0UXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=SEFvCuqQ5S4dmleOjGqFyNqUWEXM1r3Ay8hhPa2wkKo=; b=tcWsjI+Kas7PG5b4k4v4BceYPBCY2z0Yom9ct09bpl5wHnN3wI0Z56Kmj8sFicrAwK MCUO0vW6bKVEdLlYkKudOmO8nMBvz7HGE74U0p2qJecwIzL0/NNSfQzeZnkqzh4I8H+a oCwphbXCqqLtMTUJ1Ll3j4Io1ntpqXwig7lP8yEEF6s7kSYCRdGg69jXhHdVWqQLO+5c rTqFsm1o5d/oSfDIa1jU5ghS5MQKK6pe2dGm+gb1uGWjESHcU1MC2ff21iNAUd2TkCyZ Ucoj5O5WD8p7TJsvynwDIWnPjrmeSBCmFTahLs/e8C6AGuA76rBeJn+9rhiQEDBX6bxE JC9A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m10si7488676pge.29.2018.01.08.04.53.53; Mon, 08 Jan 2018 04:53:53 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757468AbeAHMxw (ORCPT + 28 others); Mon, 8 Jan 2018 07:53:52 -0500 Received: from mout.kundenserver.de ([217.72.192.75]:52148 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755598AbeAHMxt (ORCPT ); Mon, 8 Jan 2018 07:53:49 -0500 Received: from wuerfel.lan ([95.208.111.237]) by mrelayeu.kundenserver.de (mreue105 [212.227.15.145]) with ESMTPA (Nemesis) id 0MbgoP-1eHgrg15DJ-00J58C; Mon, 08 Jan 2018 13:53:25 +0100 From: Arnd Bergmann To: Mauro Carvalho Chehab Cc: Wenyou Yang , Songjun Wu , Sakari Ailus , Arnd Bergmann , Hans Verkuil , Pavel Machek , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] media: i2c: ov7740: add media-controller dependency Date: Mon, 8 Jan 2018 13:52:28 +0100 Message-Id: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CyeHPbYh 9JnZyAi12tdky5KA8gSie8nuIuqFiz1RPytBog== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Without CONFIG_MEDIA_CONTROLLER, the new driver fails to build: drivers/perf/arm_dsu_pmu.c: In function 'dsu_pmu_probe_pmu': drivers/perf/arm_dsu_pmu.c:661:2: error: implicit declaration of function 'bitmap_from_u32array'; did you mean 'bitmap_from_arr32'? [-Werror=implicit-function-declaration] This adds a dependency similar to what we have for other drivers like this. Fixes: 39c5c4471b8d ("media: i2c: Add the ov7740 image sensor driver") Signed-off-by: Arnd Bergmann --- drivers/media/i2c/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.9.0 Acked-by: Wenyou Yang diff --git a/drivers/media/i2c/Kconfig b/drivers/media/i2c/Kconfig index 9f18cd296841..03cf3a1a1e06 100644 --- a/drivers/media/i2c/Kconfig +++ b/drivers/media/i2c/Kconfig @@ -667,7 +667,7 @@ config VIDEO_OV7670 config VIDEO_OV7740 tristate "OmniVision OV7740 sensor support" - depends on I2C && VIDEO_V4L2 + depends on I2C && VIDEO_V4L2 && MEDIA_CONTROLLER depends on MEDIA_CAMERA_SUPPORT ---help--- This is a Video4Linux2 sensor-level driver for the OmniVision