Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp4208838pxk; Tue, 29 Sep 2020 18:16:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzTzEQa8oVTCnRPckNWE58kWDmeBxQ8Y2wP07lwvjJFEjvoXN+AR2QJoLg6vTT0A5Bw8XU7 X-Received: by 2002:a17:907:94cf:: with SMTP id dn15mr432978ejc.114.1601428572617; Tue, 29 Sep 2020 18:16:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601428572; cv=none; d=google.com; s=arc-20160816; b=AhVFWpNndy2G/pXMP7Cd8uiCWXzVmTFVkCNDR1woNnKXtfjbCMKpycDTV1bzdpFqGn aW2u39YqtRQcwvc1KcHVvMukoQHHxafuod+OYBogZ05Yt858CcnW5rlapRFkxSPa6Fdq mc+wGhr0+A/fbuWtaVfgH3eTic7NU8LG5/QkY+kcNlOtUBaINbvNZwcNGgms9zstw2Fm NQcqWGcA9nhWbzajHpxiYdPsNBm7GhJ3sU2jPJ7paB8gkawpPQrQpd8U15tFrROkiCIO k1Qm60+PpBewALA6322FQhf4ezYsqu5xNv6rWqahlzNX/Y/WS4pTo0kN6JHMexiuherE 7KDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=Mb1e3aMT2LgSqsfeUGUg7tbMEDRyoXHpodtp76eO3uQ=; b=oLpvI3aA/epHoVjn1ESHV3zWI5IoV1UG8yCh7KXh6qj2NbkKlHnkmsPoRd2uZ9X4Gr xnVbxnyoZOzLIWCmO29J3QLUXbolO7uiWDgha+pFVD7CotwAsYyV0+dP22khvzFNYrZL Yo3ShCLcCFvVn/rxTb6bRckG0Yy0IgPNyenLVicrWMWGbQYH9s0tYEa8Cf9Z9p5B3NWn svlmL3ZQJSlY4zlijSvzCXat3Tho40AkGt90z6Peist8YUYSjnothjP2TMyIIIJvQgdv zjctUclmJv3CMC1UQA1xYjlqfWxyLclDW+FcinxD/IIPCZhFtx6Jk4ikYkGsqSBi1F9O ROUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=j7OltEzV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o22si134630eje.193.2020.09.29.18.15.34; Tue, 29 Sep 2020 18:16:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=j7OltEzV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729179AbgI3BNa (ORCPT + 99 others); Tue, 29 Sep 2020 21:13:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51892 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728931AbgI3BNa (ORCPT ); Tue, 29 Sep 2020 21:13:30 -0400 Received: from mail-pf1-x443.google.com (mail-pf1-x443.google.com [IPv6:2607:f8b0:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 213E1C061755; Tue, 29 Sep 2020 18:13:30 -0700 (PDT) Received: by mail-pf1-x443.google.com with SMTP id w7so6668931pfi.4; Tue, 29 Sep 2020 18:13:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Mb1e3aMT2LgSqsfeUGUg7tbMEDRyoXHpodtp76eO3uQ=; b=j7OltEzV18zPefNDxTypqamPpSStsTxCbzoVQUuP4/8S8G5E7Bq985aDEGg8aj+wGW j4Bvxmi9xDRso1t2LHJVutS4jLa5oG2hfWrdq6uBGWg5qAs1Et96Z9L1Drm5vUNcWHA7 YPBModCFhELrwzlstiPZTSVrSCAdK8xK/EXaRTY04ZV7ksko6ANV7wMPei89Rtzju7aX pN53Ax2724g8mgM/bXytUK6lTauml2I1EvcCkOsqFQYOvZrySEjDlqAiZg03HbqKpePQ nIwR9s0MlaboGOiBOXy/pWglSX+VNVg1yu4xGfcg61BTb6Nj3KcCBZEGDxPg/en/JZZD A9AQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Mb1e3aMT2LgSqsfeUGUg7tbMEDRyoXHpodtp76eO3uQ=; b=ll06dJgQGoLHbm7L3VbmcOwUNlUXZbOyXgAkbKPDkYO4IhExQwSQRnEoGu7eWwSdUU 33rDUHpewG41InaSt3+kfhw/9sP1dARE+qDtSHQat4dmiDa9wRxl8j4nt5EyTGY9TlYk 2r9qK2rUtZ/jtPHXJ29KFfjQa2fNyNdGwUQLOL/9QpupZ8D0juLseqj6IDIBAsPXFYJD izvHWg7LZbB64Iq62epWUN5LoXhFs5l7CWZnP5kivOEABvl7GlxCHXkC6uDalg/D1hUE PjVNFCoG//86VUgcdzFqkq+5ISYGjyQ6ZixssDf3xDOg4hyC+elte57940+tqYqD3my2 XAyQ== X-Gm-Message-State: AOAM532S8h/X/DRJp3rZUcbNCTlfpXWsJsFMK6iA3NpPeT+m6mpGmUYB 0Mt9pLwlC73vPBKxOoI+Res= X-Received: by 2002:a17:902:e9d3:b029:d1:f370:1e90 with SMTP id 19-20020a170902e9d3b02900d1f3701e90mr407905plk.76.1601428409604; Tue, 29 Sep 2020 18:13:29 -0700 (PDT) Received: from localhost.localdomain ([2409:10:2e40:5100:6e29:95ff:fe2d:8f34]) by smtp.gmail.com with ESMTPSA id x62sm6912825pfx.20.2020.09.29.18.13.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Sep 2020 18:13:28 -0700 (PDT) From: Sergey Senozhatsky To: Mauro Carvalho Chehab , Bingbu Cao Cc: Sakari Ailus , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, Sergey Senozhatsky Subject: [PATCH] media: ov2740: select regmap Date: Wed, 30 Sep 2020 10:13:22 +0900 Message-Id: <20200930011322.97179-1-sergey.senozhatsky@gmail.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix OV2740 build breakage by selecting REGMAP_I2C config: ov2740.c:1011:23: error: variable has incomplete type 'struct regmap_config' struct regmap_config regmap_config = { }; ^ ov2740.c:1011:9: note: forward declaration of 'struct regmap_config' struct regmap_config regmap_config = { }; ^ ov2740.c:1028:11: error: implicit declaration of function 'devm_regmap_init_i2c' regmap = devm_regmap_init_i2c(client, ®map_config); Signed-off-by: Sergey Senozhatsky --- drivers/media/i2c/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/i2c/Kconfig b/drivers/media/i2c/Kconfig index 878f66ef2719..c64326ca331c 100644 --- a/drivers/media/i2c/Kconfig +++ b/drivers/media/i2c/Kconfig @@ -877,6 +877,7 @@ config VIDEO_OV2740 select MEDIA_CONTROLLER select VIDEO_V4L2_SUBDEV_API select V4L2_FWNODE + select REGMAP_I2C help This is a Video4Linux2 sensor driver for the OmniVision OV2740 camera. -- 2.28.0