Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3705725imu; Mon, 28 Jan 2019 09:20:51 -0800 (PST) X-Google-Smtp-Source: ALg8bN6IsXtuXqIBYcONTeusseBboyElz4SQtgrjieFH8NR76qUkq3v3SkjqXq4BFG170hAdP8HB X-Received: by 2002:a62:7042:: with SMTP id l63mr23593287pfc.89.1548696051343; Mon, 28 Jan 2019 09:20:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548696051; cv=none; d=google.com; s=arc-20160816; b=ijZlsvo2yl3bl2VqEvcffDrX3LHbX7a85ZjK9i1iS/jBt+NcSXX898HII+KqQ4w51r vq4GEFI6q2tr7bwkjdXvvLS8KP5LXBx5P6hRrnRQ5cdn/nS7x96iw44JlOvPwh01F9Vf YP8s91km5z0qv3bWby+PqJTgg4T+BYoxbJMIiFc5oN1cY5al9Xmup+dA4a4QNXsbog2Z esk3IcEl/NGgAkTUuUOsRtosy22/pDBJYuOdLSbq/lPHy5DrJtrJFe8Sw1EtOc/wunzN TqcmZjmbvt84HyE3bmlbEim2nLLR7ymQQdo09tngVe/wqNQxg96avlWxCHNh0W+TEjZ5 c5EA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=KmABGJt6dxCdVK2cc3wzx1UO9CiJdbaPZlbswQrPnak=; b=1LpaQfXVzGsXI66+MJB6KiTE4chHDoxa1b78UL/CZBB/8evajbT3tlukg68Fy6dYAR kV8gmOyluWYjtX8ngqw85CFyTQi9rnCSV3VCh2HKiA5RHYdoyJ3LIgRhoYD1w9sDAYY3 6UxTZGBE065zZQtHe51JcwNr5/2i/YbBZ5NqRU5+ER/exVjzDx4vC4xYprlpXhlSzctV sET2xpdy00NqUjseDBIgpSh58lcnQLF24d79RdyIDiuNC8RcXl9hswIq1ZNr2SQIb4gj 84QmxPs6JsqpB+AcClvpG8X8OYpIP6wy11WuPN57jLDDf9C790njVYHMeOTamhtwh0o6 TwsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=zRgmzTiU; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x66si32941596pfk.73.2019.01.28.09.20.35; Mon, 28 Jan 2019 09:20:51 -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; dkim=pass header.i=@kernel.org header.s=default header.b=zRgmzTiU; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732179AbfA1RTu (ORCPT + 99 others); Mon, 28 Jan 2019 12:19:50 -0500 Received: from mail.kernel.org ([198.145.29.99]:50446 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731647AbfA1QEl (ORCPT ); Mon, 28 Jan 2019 11:04:41 -0500 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 278062175B; Mon, 28 Jan 2019 16:04:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1548691481; bh=7Fc9PSBhWRE5g5NbFR+al31QKQ+KVPSXWmeFL1QFPPM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=zRgmzTiUOfGucID0M6GlClJ00xVED/VWfJHarmdCvp4w5yCy6L9n/4nidQbWmg2Cd HC/l/mcCMX+b7yli9iAek0UdkbvSBV//mxYA+jPwSQj3yMnj7wd5AM/fv0h+uDSNSE gJAF3jRxugrMabQ43xUGNZO4TaMyYK7dOmkVoC1Q= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Luca Ceresoli , Sakari Ailus , Mauro Carvalho Chehab , Sasha Levin , linux-media@vger.kernel.org Subject: [PATCH AUTOSEL 4.19 108/258] media: imx274: select REGMAP_I2C Date: Mon, 28 Jan 2019 10:56:54 -0500 Message-Id: <20190128155924.51521-108-sashal@kernel.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20190128155924.51521-1-sashal@kernel.org> References: <20190128155924.51521-1-sashal@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Luca Ceresoli [ Upstream commit 4f9d7225c70dd9d3f406b79e60f8dbd2cd5ae743 ] The imx274 driver uses regmap and the build will fail without it. Fixes: drivers/media/i2c/imx274.c:142:21: error: variable ‘imx274_regmap_config’ has initializer but incomplete type static const struct regmap_config imx274_regmap_config = { ^~~~~~~~~~~~~ drivers/media/i2c/imx274.c:1869:19: error: implicit declaration of function ‘devm_regmap_init_i2c’ [-Werror=implicit-function-declaration] imx274->regmap = devm_regmap_init_i2c(client, &imx274_regmap_config); ^~~~~~~~~~~~~~~~~~~~ and others. Signed-off-by: Luca Ceresoli Signed-off-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Sasha Levin --- drivers/media/i2c/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/i2c/Kconfig b/drivers/media/i2c/Kconfig index 041a777dfdee..63c9ac2c6a5f 100644 --- a/drivers/media/i2c/Kconfig +++ b/drivers/media/i2c/Kconfig @@ -611,6 +611,7 @@ config VIDEO_IMX274 tristate "Sony IMX274 sensor support" depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API depends on MEDIA_CAMERA_SUPPORT + select REGMAP_I2C ---help--- This is a V4L2 sensor driver for the Sony IMX274 CMOS image sensor. -- 2.19.1