From patchwork Mon Apr 10 17:02:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Golle X-Patchwork-Id: 81574 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2031882vqo; Mon, 10 Apr 2023 10:09:38 -0700 (PDT) X-Google-Smtp-Source: AKy350Ymx/QVw2Z77yzg1GUH7fVOCMiy33gzgSujmvl8sgTPbLQQV7qn2PYn3KrWHaL71anvho43 X-Received: by 2002:a17:902:d40d:b0:1a6:4b2f:9a2f with SMTP id b13-20020a170902d40d00b001a64b2f9a2fmr1705134ple.59.1681146578411; Mon, 10 Apr 2023 10:09:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681146578; cv=none; d=google.com; s=arc-20160816; b=fAOTy7NDb3P7k5yaaUi9PiAMEUjT7FCoMhppaiS2W6jermCU7qrwFqwGkVuuY3MQej YnNspRU///fsJkhy0RBKnGry8/quVH+irpNocMFYpHB9XEsp5mgmwe00FgnvUPMRDw4j 0XnINOTDhy5yp2zz+Cdeb03U/mirkss8/T6p+QsAgBn0xtLBLQcphIT0E3lLJicBG7v9 AGp2LApJEDi2Kg8e8LOUgR+alemg6fIMThf+hEt2X3+lcpk3TMQJp8MjsB0Bc7SX/buo 9oY6uxUTIiYYSK/sybHyTgBLf3pc0oUgwsoEvqpboU1sctMyjPO4fFdVpv3r79AWk2Dm Wmgw== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j13-20020a63cf0d000000b0051827ed9c1asi6336950pgg.483.2023.04.10.10.09.25; Mon, 10 Apr 2023 10:09:38 -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 S230175AbjDJRCZ (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-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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762809954278180868?= X-GMAIL-MSGID: =?utf-8?q?1762809954278180868?= 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