From patchwork Mon Nov 13 13:56:45 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 10056089 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 AB5C260586 for ; Mon, 13 Nov 2017 13:57:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8E70529197 for ; Mon, 13 Nov 2017 13:57:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 83615291A6; Mon, 13 Nov 2017 13:57:29 +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 3387429197 for ; Mon, 13 Nov 2017 13:57:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752898AbdKMN5U (ORCPT ); Mon, 13 Nov 2017 08:57:20 -0500 Received: from mout.kundenserver.de ([212.227.126.134]:55728 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752756AbdKMN5P (ORCPT ); Mon, 13 Nov 2017 08:57:15 -0500 Received: from wuerfel.lan ([109.193.157.232]) by mrelayeu.kundenserver.de (mreue002 [212.227.15.129]) with ESMTPA (Nemesis) id 0M48SR-1f5Fai39e7-00rnC6; Mon, 13 Nov 2017 14:56:59 +0100 From: Arnd Bergmann To: Pavel Machek , Sakari Ailus , Mauro Carvalho Chehab Cc: Arnd Bergmann , Ivaylo Dimitrov , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] media: et8ek8: select V4L2_FWNODE Date: Mon, 13 Nov 2017 14:56:45 +0100 Message-Id: <20171113135658.3208951-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:qK/M5dOZX8RswBUy+oXhv1zI9R/1Q7oNSWLrEFdgd7ZvWZzIVAO pRmgfJ7/BTFo2WB9I5XHUyCWyItL4p1TqwNMmIjvGjy1gUJHwnabiWnjkvF1s6GTh8Cifix sLyN/UUpA3n67V8Om5z9w0yd3UwlMy5MGX2ujcHY4mcxdzV/7M0/C6+j6byjACTM3xX16VE NCyrZi42uNDYQ2F3Hu5aQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:Tw+Tz9tNNzA=:mAkvgDWVkybzqTGHY1aLuB rAewuLqlT+62OA6Ntu93MgnrVHA/r0A+CYdvDpPKs1zrczgdnMvn3oRAZ8heKyJbMclCd5kBe rSSMVL2t6VPCBRLE/9rOYsHJBrI4RwQRwJNWUcmw74QNXJMTtxDW5iRQKuCaH6d2CUhldqaPK qfAhhKnT2oc1X21UQFnQlDKymjjBpw47Q3W4yD3HyiyIVqP+b6QwD+9n1R1yfXQHJyt9y+dcn sRQScvAm+GL+2ogUQcD+AqhaPMjDo8eNheXPazhFDn8kpKWGVO1tTq0GbtFvxK+P2PoLy5mtK L8myNYksTiM6fWns/zMj21Tge0ows3Gfge9OJ8USW1a0/t8FOn2Tao3DGLMMz3iE3gNmQ4P27 dLzUjKN0ySaOvZyvum/LRKL4fzJokUeA3T1pn0zMLBCxnpNm6eiA15T5WbU99jQd9bv+thZ7X 5m4m5mh4eiQwh+uAYaZcccXJG0tp3Q40smMmr+Pf3MnNBY9OP2SR9uaHhmjWMwfnSAw4Lllsz UkQZYYljotWlj/k6xW6BDWmwbvwy+1qbYNRzq6pM7d7XJTWz5rHRrg2aFT6A8an0qaf88bqsD FBByubtCPZYf1gidXM/eqcYXug9cTk7npU/vLjXAY86tHZW000gJtSof+lZtZ8Id3UvvtFSLx SiRh/OJowXD5ukZA2XqfDl1+YnIiHRxBNcfHqxjUpjVRJBQgJsNoYpGPdoDSPpkdgXzs4oyVW UV1VZLzua8koYt9hzge23IfhVxaUMjngABPEzA== 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 v4l2_async_register_subdev_sensor_common() is only provided when CONFIG_V4L2_FWNODE is enabled, otherwise we get a link failure: drivers/media/i2c/et8ek8/et8ek8_driver.o: In function `et8ek8_probe': et8ek8_driver.c:(.text+0x884): undefined reference to `v4l2_async_register_subdev_sensor_common' This adds a Kconfig 'select' statement like all the other users of this interface have. Fixes: d8932f38c10f ("media: et8ek8: Add support for flash and lens devices") Signed-off-by: Arnd Bergmann Reviewed-by: Sebastian Reichel Acked-by: Pavel Machek --- drivers/media/i2c/et8ek8/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/i2c/et8ek8/Kconfig b/drivers/media/i2c/et8ek8/Kconfig index 14399365ad7f..9fe409e95666 100644 --- a/drivers/media/i2c/et8ek8/Kconfig +++ b/drivers/media/i2c/et8ek8/Kconfig @@ -1,6 +1,7 @@ config VIDEO_ET8EK8 tristate "ET8EK8 camera sensor support" depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API + select V4L2_FWNODE ---help--- This is a driver for the Toshiba ET8EK8 5 MP camera sensor. It is used for example in Nokia N900 (RX-51).