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: 10149377 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 457E0602B3 for ; Mon, 8 Jan 2018 12:54:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 470E428560 for ; Mon, 8 Jan 2018 12:54:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3B30A28574; Mon, 8 Jan 2018 12:54:06 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C834D28560 for ; Mon, 8 Jan 2018 12:54:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756555AbeAHMxv (ORCPT ); Mon, 8 Jan 2018 07:53:51 -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: <20180108125322.3993808-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:9p/zophFaAyPt4BeG1P9mUL3vl0KpdTwayezv8YTL1bA05rSk5u 4rPl2Ax+xBCi/2lgeFqbbZJVqRR5gvNb7i9MrzbVyw0Etxr8q2/DMpLU6T9t1P+Mt0GEIZI DG/oc/30ZNx0mV7Mv8+kLr0Ti7rPsYrrpqJCUFWsTFOrgIjXXbGHtH/tAFAs6e5tW0up+sz Lge29GwY6F/pFoSUUD0FQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:WOhC1N1Q5jQ=:gve1lj1RNS/AKV31ELIcdQ ASnEnR2+XHKM2639FAG6ru2tm6NmSW/8Ylhoi3BuBLNvTLT4daqFyTkqeYIydJ6m1F7pITy8T dtDoUxBUYhu2GdXMVsvh2H5GrlB993rCQhveYgOazmLLdAjj18oMqgX7hII8QczLXxlqeJSb+ jl+HobmBdo35qvN3P+ogJgqElwHTH3HdbxsCFQwk8k7sxMftb0QtZgqaDkTsJoAg1OBoXERBy +LqJRtvuRSZVCus1Ev3PZVt05YLtqjlVwYn8LiXmYLDZE+AgVfU8iKl7udkdQA3k0GzayLDrb Whdrmw50NlCrmk02s32ph6nMeuYAlI2tdUzCa0xilE458I6Oh+5Zj3iKEIBsqiD/IAhiBRAFv VsK7CFSJvDO2mtCHWMGwuGyY2VWfw4QL0Zu53djybYkbvsGvGpniFfip4cnMXsRE1cbkEfuEU rIBHMKgXIEekrBFP/Fi5pI1dxW7mARBhqHNMtdFcuEX3WdGrtybhquURq6oqsGh6fcDOI4jYY UN8c8Od/RcKcpKxxxKOJ3YaJkxlcBweUFAGPJQ3Pl3VOBcTH0TogSK5ADcU6zcQ83lndCgdmV F3vsvOHBe7Wdk3xd0musV9KMSgFY4/ENUuV6SpG3VHEfQM0Hv/l9CxL6XWujgoQ11skPxb632 pLRgKgbVbllsj2dnR/8sEjLvvBS7ZjGiGb2ksEazUH7j6fJIiMrHLWqHJ2yNU1FoZCyeHPbYh 9JnZyAi12tdky5KA8gSie8nuIuqFiz1RPytBog== Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 Acked-by: Wenyou Yang --- drivers/media/i2c/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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