From patchwork Tue Mar 5 13:23:13 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 10839451 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 67C3617E4 for ; Tue, 5 Mar 2019 13:23:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 545922C16F for ; Tue, 5 Mar 2019 13:23:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 48A2A2C171; Tue, 5 Mar 2019 13:23:53 +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=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham 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 F00AD2C16F for ; Tue, 5 Mar 2019 13:23:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728358AbfCENXq (ORCPT ); Tue, 5 Mar 2019 08:23:46 -0500 Received: from mout.kundenserver.de ([212.227.126.134]:45471 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727332AbfCENXq (ORCPT ); Tue, 5 Mar 2019 08:23:46 -0500 Received: from wuerfel.lan ([109.192.41.194]) by mrelayeu.kundenserver.de (mreue009 [212.227.15.129]) with ESMTPA (Nemesis) id 1M8hMn-1gx1J13Kin-004hsO; Tue, 05 Mar 2019 14:23:34 +0100 From: Arnd Bergmann To: Mauro Carvalho Chehab , Hans Verkuil Cc: =?utf-8?q?Niklas_S=C3=B6derlund?= , Laurent Pinchart , Arnd Bergmann , Sakari Ailus , Jacopo Mondi , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] media: i2c: adv748x: select V4L2_FWNODE Date: Tue, 5 Mar 2019 14:23:13 +0100 Message-Id: <20190305132332.3788205-1-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 MIME-Version: 1.0 X-Provags-ID: V03:K1:4hIvftGdIWzBWpVrk4xdlrnzuXQ5gJB/LWm1mxz6mm816qEwY3x bahg8Q1lFcnvUA2CsXqR6Bl6+uRybDFDsHdoCmrF0cNg+lnXOYSzcffhrvE1iiosjgSg3aC 6VuzqYmNruKxZswJe2LfncJL1b8C4099Bl7yv6VJhHJjidrJ9pJgQR9Vn9ZYzQLmOCb9D4b 7UATxfUEC3mhRcaWkCMyA== X-UI-Out-Filterresults: notjunk:1;V03:K0:34tkLrJiEpE=:PS+jBSPRSlybCVb3mOXZjP NSsYu2Dltj3RvvvYY2sEfSsB6H8K7IiPOPx7ZRA7R4ExYZPmQs8qKnORHwgTwtfnNMMnh1/bZ AEwNAnXJ98j/U3gke94x4AHBPYm4HACcpygWydCBUCAMfCKbQQ3R0h1XTF7xNLsBWIPDpYGLa ayt4RWMJALdiIr9WXUubsW47t+PrsJ9gKres/+Y/TCDNmphe5qT3hK2absBh13WvrCEtJfofi cXJdBjnN7X9HWxyo69stDyL72HXebTR2vQylfhwGcgARc6J/ZiNnJabjeqDxrKQBfByRJDP05 4xVoG8ruxuoy4M6qcthzgl2Ab7x4fF4qzrMfBDLYLU+mNXf8D4l91oqI5eQBlR3bOvWYaId17 4v7gF1ZonedsvC0aQkUd2drAy2f04FN+Mpw41htHRj7e9Yx/7qqIC3hfGkT/qj0QPEY16YxKL capIMLlyJknPepMPe8rTgMHTex5LQWV4SZybFvKWKhbGaKPananBsXKPJgiLhFUSPZ0slnnJR sWgnMeAljONfM5Sh60nFDvoFg3nNl6xKiIl/ZOgmk6t6M25pm+IeXJoneIcCQtuM2Y6pESKyQ LP9ch4ePuMtjwidH34czIeKCKjL0lnOFxUroYWta7k/ltvMfbecvx4L2xllm7i6tTIebTbL7y t19xHuUaRLOCVtubejrnuqbo0I14HBBog8dMSL1hTWDuooR6+d5y6dlVq1aQIBRNN68V3XW6/ 9ox8NQSjupKRAkoYaEkqOJjMQi5RvwwAe1qAVg== 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 Building adv748x fails now unless V4L2_FWNODE is selected: drivers/media/i2c/adv748x/adv748x-core.o: In function `adv748x_probe': adv748x-core.c:(.text+0x1b2c): undefined reference to `v4l2_fwnode_endpoint_parse' Fixes: 6a18865da8e3 ("media: i2c: adv748x: store number of CSI-2 lanes described in device tree") Signed-off-by: Arnd Bergmann Reviewed-by: Laurent Pinchart Reviewed-by: Niklas Söderlund --- drivers/media/i2c/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/i2c/Kconfig b/drivers/media/i2c/Kconfig index 6d32f8dcf83b..3f5dd80e14f8 100644 --- a/drivers/media/i2c/Kconfig +++ b/drivers/media/i2c/Kconfig @@ -221,6 +221,7 @@ config VIDEO_ADV748X depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API depends on OF select REGMAP_I2C + select V4L2_FWNODE ---help--- V4L2 subdevice driver for the Analog Devices ADV7481 and ADV7482 HDMI/Analog video decoders.