Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp284197lqp; Wed, 22 May 2024 04:47:39 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWg7Rh3QZylsssFnH7A133MOIBy3z0Yqgpas0zmlNMm1+jElJe4+X9aVV/PLJViscZWsN+6jrf5ZTfX6z70NHJTKgDpsbLFYilvA7B37Q== X-Google-Smtp-Source: AGHT+IGqxKv1M8lxQsSD/WCOQce4+OoCc2IghIlI1Nmd0gjuY8zHRjB/1XtQpN0G2xuStrR30Y1I X-Received: by 2002:a05:6808:1704:b0:3c9:7810:faf0 with SMTP id 5614622812f47-3cdb24817a0mr1977501b6e.20.1716378458798; Wed, 22 May 2024 04:47:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716378458; cv=pass; d=google.com; s=arc-20160816; b=kbj9BiriEmskcSMeNw65yExpmhmZYDnA8u2mK3RjXnTxYrDnv9fn+2T+Q5N8FdDbK0 kC/IAzMx3RE5gnR/Nb/xg/XWMc8ZjDDfq93j4zSt0N3yYzlNiNRw/uglZBogVSChvC3g tmu4kq2LGUHBQwjiobX3tdoI9ZXy6a9/lZZd08kh6tMmaCiZccI5OTOYBYeCctb6LBgO wBVLleNQfdt6T7OogRxcGov0XrGsBsIpin9Ip1RnYr8joVJVujsK96viC+itWpsuiL8f nexhTC5Eynwp50jF4KFOEOlX9P8NAFCM+b1/HfsGMuhOTV8aN+ElpkFui53CJv4oq2FL ac5w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:subject:cc:to:from :date; bh=C1xrvw5bbaFnh3DO3FIt2uQ3bRk0tzr+JPQgivlz7Ws=; fh=lY0Wyo5bwKo2ipNVMwZxuKKqCnoEWYIyJKB3zEiAvRo=; b=K4W/5BEA5eM2JSc2CexjXjhux8B973dGAOwp3yC3UIZNLSa0ufJCVt7YIimhHcxKuJ CNSZCdRMQyzdu62X3/ebLyUD1ok//gGTM40LfyNvtsk4/R5tRjiczQgImx8WweSUJ9OT xqAAxG7zOnacrv0fWh7Nw2NgWsAnnjMN6K2tt+FKJ8/iHVArvU3VfsTFHfz//qiE0sXN w1/qgfmyCJZJfCFdLPKtCEYwdsj5xukeP7o73IyK8H+UOlRfLgUtcLV/MF9XENh+PBCs q31z+N0iVgQF3JLKPDYI/29iNMeQDN5SbR9/m7NZ+o0y8CAXhAtJf+6N0mMKgJYGLUN4 wO1g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-186165-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-186165-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id af79cd13be357-792bf2788b1si463327085a.44.2024.05.22.04.47.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 May 2024 04:47:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-186165-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-186165-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-186165-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 5CE4A1C2249B for ; Wed, 22 May 2024 11:47:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A04A613D52A; Wed, 22 May 2024 11:47:33 +0000 (UTC) Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1EB4B81748; Wed, 22 May 2024 11:47:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716378453; cv=none; b=cDOszeEIqLnAESv9/SAIPLlVpybuNi84xjgqziTAOs09gDfjOw/CyVDYtJ5E4HtQFvkTjW764HOWAgN1x5GTj9yBqQ72H1NLJf0MEXKbtM71YzQpNJLRmz0IPtgJNGpAJySZyfWrNNvtU19qFR97KXGUoXSW31wkLXKJoUGRCZA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716378453; c=relaxed/simple; bh=ppwqjPG9mdV4Umy1sHG2Px7mW5uUSyzM6jDoXKQ5aQk=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type; b=JEtT26r6p0N0vR7dqiwwUENrMeIGEO189pyesMsC/FQhd5kq5DCDT+6Jyixt5xlTHjEvVxaQbM26WjuJcHrfc7DDQtzX7KUBl5ZnQvdDFcKoSs6ESq2LGT+Rryhwt2Cu4Ih0iAzjy0X3S4k8oYuo/S0B4Ojjgbxq61ohn/Fr6yo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id EEDA8C2BD11; Wed, 22 May 2024 11:47:31 +0000 (UTC) Date: Wed, 22 May 2024 07:48:13 -0400 From: Steven Rostedt To: LKML Cc: Linus Torvalds , Hans de Goede , "Ilpo =?UTF-8?B?SsOkcnZpbmVu?=" , platform-driver-x86@vger.kernel.org Subject: [PATCH] platform/x86: thinkpad_acpi: Select INPUT_SPARSEKMAP in Kconfig Message-ID: <20240522074813.379b9fc2@gandalf.local.home> X-Mailer: Claws Mail 3.20.0git84 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit From: "Steven Rostedt (Google)" Now that drivers/platform/x86/thinkpad_acpi.c uses sparse_keymap_report_event(), it must select INPUT_SPARSEKMAP in its Kconfig option otherwise the build fails with: ld: vmlinux.o: in function `tpacpi_input_send_key': thinkpad_acpi.c:(.text+0xd4d27f): undefined reference to `sparse_keymap_report_event' ld: vmlinux.o: in function `hotkey_init': thinkpad_acpi.c:(.init.text+0x66cb6): undefined reference to `sparse_keymap_setup' Fixes: 42f7b965de9d ("platform/x86: thinkpad_acpi: Switch to using sparse-keymap helpers") Signed-off-by: Steven Rostedt (Google) --- drivers/platform/x86/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig index 0ec952b5d03e..1953317541ea 100644 --- a/drivers/platform/x86/Kconfig +++ b/drivers/platform/x86/Kconfig @@ -515,6 +515,7 @@ config THINKPAD_ACPI select NVRAM select NEW_LEDS select LEDS_CLASS + select INPUT_SPARSEKMAP help This is a driver for the IBM and Lenovo ThinkPad laptops. It adds support for Fn-Fx key combinations, Bluetooth control, video -- 2.43.0