Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp2652469imj; Mon, 11 Feb 2019 06:30:32 -0800 (PST) X-Google-Smtp-Source: AHgI3IY2nkkoq4IIDqEEiDaimnVyYubcHRwnG+x93djxeU3DF4yJBDaUcUz0qz1Gs/RNkypevTam X-Received: by 2002:a63:6506:: with SMTP id z6mr33840176pgb.334.1549895432602; Mon, 11 Feb 2019 06:30:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549895432; cv=none; d=google.com; s=arc-20160816; b=j0P5RjlmDJVywLw/mCMedf/60MJ4EJ1fNOxrAHQed1cWl49JAFs5Q+Lh3Tbl9Nokro 56c6h1EUbCUo/EM+4Ri8WG9QfHTuHzJhYP0DBlCEagPzrqfHxfds5IG2VdAZmI5/qpDs X2uneCsvFJgk5hfosz+DLuQZzU1h9XCUlhp10ec80ua0spStGHNy44LSDEOV1sty7KxJ 3gqIDSRKuFPz2SbW575lSgi+d0VqTkTzF+llRgA87StDGKIzrq4mKny5dAG7GamTvcns 7y3TRRrWvYjvOJ+1jfw9hOPPquUEDFXFUDd4gVGmobLmZn7fb86Corq5u27fv1OR0Tf1 /xyg== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=4rnuJ1WnAgTEaAonljtgSxo1SOa1IjgR71aE7ex+4bM=; b=R3bhWWTvt10WW4lyXsbnCVKnxtMJ6ZKM2NqxD62VFKupbXCzSjFbgGGwFkklm4SHPw VroUuFuj37cNDKPfynjXwP2hObMU1A8tb2zM9iVTQE9fI085LqBFzwgQd+41pXXa442v kGuM1P4H3hC5boxUORnP/V/501Fm0IDGnr+ZVCQEBwJBMKDDFf/tkSjVyyBydkFt5Kme z+EvCaVsfbFqBSGlrqcRPXsAsanLbcZYPqeW2VylNtqIFhUxQvWrpI46YRfKamfObnla JGJSmilEYXSxtQbSPRuDmWSWh0UchnBQobHGVcXCWGFw2v4NyHwW5Wjy4ot5o6ZYD5Zr g/KQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=vCU4lts1; 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 o3si7895740pls.265.2019.02.11.06.30.16; Mon, 11 Feb 2019 06:30:32 -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=vCU4lts1; 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 S1729769AbfBKO1q (ORCPT + 99 others); Mon, 11 Feb 2019 09:27:46 -0500 Received: from mail.kernel.org ([198.145.29.99]:33598 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729760AbfBKO1n (ORCPT ); Mon, 11 Feb 2019 09:27:43 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7B4102075C; Mon, 11 Feb 2019 14:27:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1549895263; bh=cVWs3dzqpzD0TytiUjV1qj1k8bV8pxkjOb0ykI+ErwA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=vCU4lts1A7J7k80MmC+iuAg/2QBUvIKqKKoD4mj5fo0yV26fuvIHXnWcPfkItgXsT owNTAIa6+U5Nsv0IXM77bWc3/jk9bcwOdfMNMYHvp7EWirBUW/bgc0+kZw2td3RvDn rMWwsdrMZMp03WIrtqeUaU9WBCYRoQqKuqgY8Dqs= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Luca Ceresoli , Sakari Ailus , Mauro Carvalho Chehab , Sasha Levin Subject: [PATCH 4.20 117/352] media: imx274: select REGMAP_I2C Date: Mon, 11 Feb 2019 15:15:44 +0100 Message-Id: <20190211141853.355163958@linuxfoundation.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190211141846.543045703@linuxfoundation.org> References: <20190211141846.543045703@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review X-Patchwork-Hint: ignore MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.20-stable review patch. If anyone has any objections, please let me know. ------------------ [ 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 f4714bd6fef0..421e2fd2481d 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