From patchwork Fri Jul 21 16:21:25 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 9857271 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 743A460393 for ; Fri, 21 Jul 2017 16:22:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6177E286D9 for ; Fri, 21 Jul 2017 16:22:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5642128767; Fri, 21 Jul 2017 16:22:17 +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.4 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM 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 10B902871C for ; Fri, 21 Jul 2017 16:22:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754520AbdGUQWD (ORCPT ); Fri, 21 Jul 2017 12:22:03 -0400 Received: from mout.kundenserver.de ([212.227.126.134]:56093 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752178AbdGUQWC (ORCPT ); Fri, 21 Jul 2017 12:22:02 -0400 Received: from wuerfel.lan ([5.56.224.194]) by mrelayeu.kundenserver.de (mreue004 [212.227.15.129]) with ESMTPA (Nemesis) id 0MT3ze-1d8mNR0MGk-00S8Pz; Fri, 21 Jul 2017 18:21:47 +0200 From: Arnd Bergmann To: Steve Longerbeam , Philipp Zabel , Mauro Carvalho Chehab , Greg Kroah-Hartman Cc: Arnd Bergmann , Hans Verkuil , Russell King , linux-media@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH] [media] imx: add VIDEO_V4L2_SUBDEV_API dependency Date: Fri, 21 Jul 2017 18:21:25 +0200 Message-Id: <20170721162144.3339864-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:kI/vMssTAr04YfnNQ1F6X4HaPg3jqoS7LJwLnsD/KPZ+74a4QcV S1HRGI59Qvluwk3kWIwRLevC4VpFyYndYo2sN5kKYMcGkjAaSI5jDN7AmbOPHYP9w8UzMsr bdIvSPVX0SYSP0QUE9HsO+N7BwAl0PCoYHGLYOCFHNC/yVwyQ/ckAVsTYIRPPxbgsBGfeZR yIMh+meGNaH2ZSrrEvsWQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:k6XUHAxqe7w=:DchHTDYJ/NZzafTGORcjat PzAcf7R1kdue6qTiahGaJGcC+Q5ohPXzhO+yQljTJCkVgS5toROki1nYIC6GCJ2C6/2WDWSZv vkI296rbhN6QaOlMmXvOnODo0eBujmvBlI0U7uCqC1vlAGKChfVo5ZdFsTP9TZkda7Yeg7qMb hnffkFjyX2Ub4FchZMkIYfA8TLlyUfbKjV8EuoBSn5C+Wpnd0XxQDAOcyaJ/noqK2I+XqNhod Ac6I9AHJGXNNiaZsEjVejKGDstTUxKrVBCVpS2oUsSDFmmaAX94LlFy3XaWs9h1viIODikukS lcyCWdoHhMqfd1tINHOClBllGLO7BHhrS+SEMM3wkx9TQUmtx+iBv8rC9QQNOK3ufNK+po5Dt y+tpUCpfg4I9eNjR0w27pVNxYikfVCdtA8nn0R6xwZLLsUoY8ByexQmO5h/NijaXVwCxrvtlT 2oJN/GKgutZC17Z62BFeHSR9V5YmW7NbFz7xPdufkIcQafCnYT9ASA89XnlTMGWjM5jRHe79A ZudYSGiRib7fFw0hHi+gnpxOLPscPlipb1INIB8uirB6xmG/YB4KoNH82CSVT4QFMovulxFEH sG+FgkG+gbapKAyHF95YrmE6zOtOxnzRsPJrbCunW5Q+Mcy5fzRUlKVwFzX9jFJvyVgbQyHc8 Nu8EddiCJCkY/Lec/+XAd9Xi/uJInBQGrAXVDkAJ2Aa9u1IioZLrcyeU12yLS5N9HLDQx5WBj 1k6f7w3nn6zWQINalE1z9dUdTDnw1SJBFMAfCw== 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 this, I get a build error: drivers/staging/media/imx/imx-media-vdic.c: In function '__vdic_get_fmt': drivers/staging/media/imx/imx-media-vdic.c:554:10: error: implicit declaration of function 'v4l2_subdev_get_try_format'; did you mean 'v4l2_subdev_notify_event'? [-Werror=implicit-function-declaration] Fixes: e130291212df ("[media] media: Add i.MX media core driver") Signed-off-by: Arnd Bergmann Acked-by: Steve Longerbeam --- drivers/staging/media/imx/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/media/imx/Kconfig b/drivers/staging/media/imx/Kconfig index 7eff50bcea39..719508fcb0e9 100644 --- a/drivers/staging/media/imx/Kconfig +++ b/drivers/staging/media/imx/Kconfig @@ -1,6 +1,7 @@ config VIDEO_IMX_MEDIA tristate "i.MX5/6 V4L2 media core driver" depends on MEDIA_CONTROLLER && VIDEO_V4L2 && ARCH_MXC && IMX_IPUV3_CORE + depends on VIDEO_V4L2_SUBDEV_API select V4L2_FWNODE ---help--- Say yes here to enable support for video4linux media controller