From patchwork Tue Nov 28 10:38:00 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 119833 Delivered-To: patch@linaro.org Received: by 10.80.225.132 with SMTP id k4csp2919148edl; Tue, 28 Nov 2017 02:39:01 -0800 (PST) X-Google-Smtp-Source: AGs4zMZpEhCElhwhoUrg/zndr8hIgSnEagSFoewVaCsfpURxdV/28vo/66fbo1ljaXYGKaE79LNU X-Received: by 10.101.81.202 with SMTP id i10mr21737785pgq.23.1511865541494; Tue, 28 Nov 2017 02:39:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511865541; cv=none; d=google.com; s=arc-20160816; b=EqHZSWzt/S+mubSt3BTOtjo/7dXWX7VDgDZEYMKuvRzHwDSv4rele+0ai4ZglF7JbU e6DrbI0SF5SC38mwriPKbWhkiYe5UwRekljf9qumV3jnjViRc2+OOWrdtxyPYvtnwBgy 9n39Fhdc7jewHNs+r7pepV9WdcCBeGuFmf8vVH4NwMY75buDF1gF9+J1n1oWlSAJiFsT j3dw+GNsNCy2IapCGH4xOHN7sFzwXguuJ9m89RMG/lYcQ+3m87EnNfkKmExB0UUBu7IS uy+FPGFdaHKB1EHti45a1bRZCRK30TYYZNdiI7SP7vu9BMr070RKok1+tfsIYdZ2VVqs fNgQ== 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=6Ke3i5by2GGI0kEQU3Mt/pjd2L5DveUqegD/WIgsNjc=; b=ZdOKkPRCbBauHY8en+d5V5CiWWQPNzOARiOEzC1tswTc+J5SQO6utK/2ak44KT2LXv 9662qUh5JK0EjF/U3yx7n1G31zrrtKOmZAXdY6a2YQIXYTa7ghJ2bSGQONxwbeT7850u bEeuNG9jLeroISe5ekeYio1JyjqU+T5FmcejIUvfhDAIOX5BYpRss95CezzLPGs5TtUW W24BfLmydDquh9uEUssMzbR3ybtsU94/EZ6FpuhIXWK8Sjmx7TFF7C3xmiFX4sjE7P75 DieZiYR7QGteIJze+Du5UF90Xuh2iyaGjNPPqaUci+GGkQV3INN42gk12ZP2wD8fLS8W mcIA== 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 g4si24371753pgc.83.2017.11.28.02.39.01; Tue, 28 Nov 2017 02:39:01 -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 S932408AbdK1Ki7 (ORCPT + 28 others); Tue, 28 Nov 2017 05:38:59 -0500 Received: from mout.kundenserver.de ([217.72.192.73]:60782 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932324AbdK1Ki4 (ORCPT ); Tue, 28 Nov 2017 05:38:56 -0500 Received: from wuerfel.lan ([109.193.157.232]) by mrelayeu.kundenserver.de (mreue104 [212.227.15.145]) with ESMTPA (Nemesis) id 0MDgeU-1eLDho1Ib8-00H8dO; Tue, 28 Nov 2017 11:38:46 +0100 From: Arnd Bergmann To: Mauro Carvalho Chehab , Hans Verkuil , Sakari Ailus Cc: Arnd Bergmann , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] media: ov13858: select V4L2_FWNODE Date: Tue, 28 Nov 2017 11:38:00 +0100 Message-Id: <20171128103841.490119-1-arnd@arndb.de> X-Mailer: git-send-email 2.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JWxhKMA== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org v4l2_async_register_subdev_sensor_common() is only provided when CONFIG_V4L2_FWNODE is enabled, otherwise we get a link failure: drivers/media/i2c/ov13858.o: In function `ov13858_probe': ov13858.c:(.text+0xf74): 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: 2e8a9fbb7950 ("media: ov13858: Add support for flash and lens devices") Signed-off-by: Arnd Bergmann --- This is the same patch I submitted for et8ek8 earlier. Both are needed for 4.15. --- drivers/media/i2c/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.9.0 diff --git a/drivers/media/i2c/Kconfig b/drivers/media/i2c/Kconfig index 3c6d6428f525..cb5d7ff82915 100644 --- a/drivers/media/i2c/Kconfig +++ b/drivers/media/i2c/Kconfig @@ -676,6 +676,7 @@ config VIDEO_OV13858 tristate "OmniVision OV13858 sensor support" depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API depends on MEDIA_CAMERA_SUPPORT + select V4L2_FWNODE ---help--- This is a Video4Linux2 sensor-level driver for the OmniVision OV13858 camera.