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: 118744 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp1823370qgn; Mon, 13 Nov 2017 05:57:22 -0800 (PST) X-Google-Smtp-Source: AGs4zMY/ulc9Ggb7EdBzkM4roW3Ffn9pDPxtlGtrq2aPaAyqz7Fi/0VJubsFXzvMQYRvXCoRSmgy X-Received: by 10.101.75.204 with SMTP id p12mr8844085pgr.61.1510581442590; Mon, 13 Nov 2017 05:57:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510581442; cv=none; d=google.com; s=arc-20160816; b=pqusWsVrGzJszQQPX0LXnsPTADtL4lAIo99jDeVEw+wkGda6L56lPlMrqrxWfDVy2T s+hK0sRLQSRo4koXKOPAc7MHma4dXFhWpsqOV66lIOcuqi9TzpKTeOgS48UH6MJTzdLW Iz5dj/WSVkFe5uWNwJl+n12F/xb8N+OVjHRVhiicn27SZdUpJlZX3gezBroni0efHTFj hMe4fF2JJATW1u3U/tnt1o+JXz8WB9YPK8yoUJE/oY1+hSY9XGUTYKn5/BdV5abcU1Df Qbe7dD0KCv+c9dHiIR6Qy6rbnpPTGvMyMO5sCJYu2ezC8GaUVP5mT4QElRSQ5XR7AtBu bJiA== 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=oF+ergioERlQ/6NbJeNQad3Fg2E1TVmVKUWoz1l2D6g=; b=ZJwxL8I/yEp73FG0H8FsgV3f5BendAZwc7Sx9nOHQwK3gVjl6FMLlfMvxeo2nazXy5 ysxbvNT+bm+UHb6fldrVBQo8CeOarpXA/EveDG7tAsdNPYEBS6UUsyKPsNE6xgBfcUlw E7eQYQQw9/t5TQRQaDLJAWUTts/o+DcmN5TP686ce7a7Tllk7BhYRNRJVZQ7Fs3G49yR ugg59OwepYx+ulTwwv9xBivFJ+f3G8S2hNyP1+BFtNYzJVvu6sQc2Lwjc5ltrmL1qyLw BftnYGNA9mbvyciNgf7MO4UOELdbXij/eYh/qxDa2xMqtecAM4FBU4g8o2x/tRJ+NUWh NBWA== 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 b29si15361802pfh.302.2017.11.13.05.57.22; Mon, 13 Nov 2017 05:57:22 -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 S1752930AbdKMN5U (ORCPT + 27 others); 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: <20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oyVW UV1VZLzua8koYt9hzge23IfhVxaUMjngABPEzA== 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/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 --- drivers/media/i2c/et8ek8/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.9.0 Reviewed-by: Sebastian Reichel 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).