Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp4380145rwl; Mon, 10 Apr 2023 10:07:16 -0700 (PDT) X-Google-Smtp-Source: AKy350aTtG7z9HbeYZa8e0p98QV3Pyv9kLZLTiWf1fbc3xQXbupNqVO38gh/WKHpa4/4mSyfDQUT X-Received: by 2002:a17:907:a412:b0:94d:e1ac:9aee with SMTP id sg18-20020a170907a41200b0094de1ac9aeemr881874ejc.33.1681146435732; Mon, 10 Apr 2023 10:07:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681146435; cv=none; d=google.com; s=arc-20160816; b=a55qsbTGmPzZdk3RLcRLbYhjfC2+m+RTztaX84oZX4mDsW7Jcq2xGu4vjZfChOzoDc q8vTS8raHEWlIkZmPu0r+fncrdjE33UTjTA099HGTYCEF2tcTndDU6+mieaaErjpx/Xr 83FO8INFWXv2KBxDcQhqvMIVJY0NTjRZ4Mofmgxw26V2csUQSqwBjanMiUG4oQzkXjrm pE09n6WRUX9Z60Zi67kZ7dimU5r2X2cq9oYrwk48q5J1JqqdRdUsPGC3lyUE1AR+MLAE Si+T2fNfFxBmirKrKl/cp0Gk6hqXrNdUSRRWgT4p0CbsUcT1GtqcKABJ6NIN+8ocJxdr IJwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:to:from:date; bh=1F8ZPiy3vb5B1S+MmaUs6r/C/zVp5Rttw5JvtlJAjwQ=; b=goE3ElKqJYrTToGcyIimIqVUiuLYVSHg7hh7yEXzOViwIqCx5rawI3xJeI7WCRUzSd jgqQ7tJDowlTaUn7ym0BrcPfLuWNGMTEI54q3/2l+akC7OsH2acrBr34OD7YrT0SHC9K G4Bo/Co3HUxJgjjQkcDpFAbRJEj7gKMTLWotkK2BQcl89WiOQho5SuE2G2ozhripNvAf UdjVfGFL2sqCvFPlZndcV/aUoFnMx/v4YQojZJRhmhzLnM5uKxv2DiiwKF3wAc2R6oNL 55OVk1Ks/x/m30ljLi3wbdQoMy6GkkwXZshm+h9eG3laqPNGDG1EUHLhcd48zVBYgVPx VvMA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sa23-20020a1709076d1700b0092582ab5ae4si9900926ejc.872.2023.04.10.10.06.45; Mon, 10 Apr 2023 10:07:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230167AbjDJRCZ (ORCPT + 99 others); Mon, 10 Apr 2023 13:02:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32904 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229973AbjDJRCW (ORCPT ); Mon, 10 Apr 2023 13:02:22 -0400 Received: from fudo.makrotopia.org (fudo.makrotopia.org [IPv6:2a07:2ec0:3002::71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0C8591BF2; Mon, 10 Apr 2023 10:02:22 -0700 (PDT) Received: from local by fudo.makrotopia.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.96) (envelope-from ) id 1pluuI-0005B6-06; Mon, 10 Apr 2023 19:02:18 +0200 Date: Mon, 10 Apr 2023 18:02:11 +0100 From: Daniel Golle To: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, Dmitry Torokhov , Arnd Bergmann , Robert Jarzmik , Jeff LaBundy , Maxime Ripard , Max Krummenacher , Alistair Francis , Jean Delvare , Job Noorman , Chris Morgan , Hans de Goede , Dario Binacchi Subject: [PATCH] input: touchscreen: edt-ft5x06: select REGMAP_I2C Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=0.0 required=5.0 tests=SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org After starting to use regmap API to access registers the edt-ft5x06 driver depends on symbols provided by REGMAP_I2C: edt-ft5x06.o: in function `edt_ft5x06_ts_probe': edt-ft5x06.c:1154: undefined reference to `__regmap_init_i2c' edt-ft5x06.o: in function `edt_ft5x06_ts_identify': edt-ft5x06.c:897: undefined reference to `__regmap_init_i2c' Make sure support for I2C regmap is actually selected by adding this dependency to Kconfig. Fixes: 9dfd9708ffba ("Input: edt-ft5x06 - convert to use regmap API") Signed-off-by: Daniel Golle --- drivers/input/touchscreen/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/input/touchscreen/Kconfig b/drivers/input/touchscreen/Kconfig index 1feecd7ed3cb5..143ff43c67ae3 100644 --- a/drivers/input/touchscreen/Kconfig +++ b/drivers/input/touchscreen/Kconfig @@ -768,6 +768,7 @@ config TOUCHSCREEN_PENMOUNT config TOUCHSCREEN_EDT_FT5X06 tristate "EDT FocalTech FT5x06 I2C Touchscreen support" depends on I2C + select REGMAP_I2C help Say Y here if you have an EDT "Polytouch" touchscreen based on the FocalTech FT5x06 family of controllers connected to -- 2.40.0