Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp2448795rbb; Wed, 28 Feb 2024 02:02:35 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWNIlrGWeVEXKXg3K4iXap2+lvFAifBYArr8DPAXIdekxMxQ2puBdIaXQbFIUWRMA1jRXrz6Cbn7Sm9NJs3qBVFPP4h1vT2L6CIKxDSHA== X-Google-Smtp-Source: AGHT+IE+5tCjbe9HMvOAlGZ+/QNGiNk2ZIm4w7SkrQooezrpcRUqArtCPAGJNnih4uE2x82+UU3w X-Received: by 2002:a17:902:d488:b0:1dc:ca2e:e846 with SMTP id c8-20020a170902d48800b001dcca2ee846mr1308468plg.3.1709114555646; Wed, 28 Feb 2024 02:02:35 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709114555; cv=pass; d=google.com; s=arc-20160816; b=cZbMT52236DFttkI7uMlmxez7RBbB/V34GkFazbOAvaVqIu7FcggHfKtOACRvo5g7g sk5R9KEGP721SgadhZWzQ4+n8tqEMRNQZjsvvy5VSK9S9k4hqHOI54nU3JvJyrhyQwVR n6sFJx3axuHw1Qyw9Hrrao5c0ibtA28KEXZRqSFzDBl5M0m/JOmWm2kgl/NjviZX9fkk 1yKTe/wR/4EI8g4Nc7KN4fiKOZ24Ckl9F/nWrGouDB9k1bAivEMzJ2n8PJ7tyfwt7DdP i+Im34XvhEPR1P8/H+kJdjgqqVJELWU9+rqtn6MrFnRERCxif21PjntWxUwfGQtwPcm9 6iXA== 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:date:subject:cc:to :from:dkim-signature; bh=UbqREhYFdAbBfvj7OMQirWic5O9BCr4RkDCClrp6SqU=; fh=gFM7BprbjuIGZ5pSG69te06NJY9rpdr4RzWnQMKZXjE=; b=yOzjYlfiQTT/v4OvMffHzTyxvXW7RYnX75cl5z6x5YLJn1tTYvkNsq7jKKs04fO/KX hLcDPTyKWhx1D3trHnnVTo+eeC6tgnQdymVrisTPERPh5pUMJ5DBaLGu6XdhQOlHdlVY lJQznKqn/P1eS37gIQPuTPff6DVJF7SGRM/+ldAAY31hQE7Vk+2ZQ5HP9V0rxzraPBZQ BdQ17yjHBHk2YGgydipFavObjBJQ11oVfO90zAhMiHDOAYfW+vFHiX/4SLj7TxJZmMZ7 bxj+V726maOGemiDJO3gcriH/E1qwqmQjR0T3iFemlAeF9YST7GROBylLVi+zWeS02Fc uVjw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="J/T/R9hc"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-84783-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-84783-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id q8-20020a17090311c800b001dbcb39dd7esi3070442plh.317.2024.02.28.02.02.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Feb 2024 02:02:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-84783-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="J/T/R9hc"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-84783-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-84783-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 sy.mirrors.kernel.org (Postfix) with ESMTPS id D6C10B26080 for ; Wed, 28 Feb 2024 09:40:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0C3F032C8E; Wed, 28 Feb 2024 09:40:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="J/T/R9hc" 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 2C6E52E85D; Wed, 28 Feb 2024 09:40:15 +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=1709113216; cv=none; b=ihmzKP56hAItFLZO+aEyIlTjmJW/yBzwinhdWVHJHL+QnrLOznft7fpauw10bqazWDgBM4DVTBe7eUhVGEI/+DIx5jzcqPumpdVGwyJ+218s5ErmQbKk1c/5BGGs92EgciK4L0g1OsHLydOEgltY9tqqgYORB0vg/tdF1N5BavU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709113216; c=relaxed/simple; bh=jwmkIJlXr+YpnOJWmEPMvayj5hIai57OdCRtqOAIick=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=QhKGtpRNRGV4epCdosI+gYfcS7/XxMA70D8Zz0H6p7j4XZ2b2i4il16T2RIIVw0i3YwmgmTAQYb69A0KpLjWiBm0lH87qS2aNR9mRBpsT15lHAtg9wDAAxtKGEzUSEsCpRPU+9zgFISN0dadNiUGh9h96Os7R3gaPr5OJNzj1kk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=J/T/R9hc; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id CC507C433C7; Wed, 28 Feb 2024 09:40:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709113215; bh=jwmkIJlXr+YpnOJWmEPMvayj5hIai57OdCRtqOAIick=; h=From:To:Cc:Subject:Date:From; b=J/T/R9hcd0MhwTrjNCvIrve9syFI/xC8GPhi419uWg3fyAfBEsojaZbNOuw89ghgF dGyS9gNNnJQxHokbc9q7N04mqUg02xRSjmtq5Xup1SH11sn/OWQZeRP/BGJTFP+uyd AqiTBjWjPB1xrS4YmsZys/CxeHkkSzrj9z2CxFaZsXXW2jEt9mkDn/yuX/GpwveLqt D6BKQx6PlmAtQnB5KjboEy9IzHhoIMHf+oQhdYOKjHuzpWoSQBa9R5V3coyabk7BWX VEq8pnRX7Jzl78B6X6jhkoB96FzZbarKd2tmyWXljlkmg92z294QHYEBLtt38zlapX mgONNInhdHFww== From: Arnd Bergmann To: Hans de Goede , =?UTF-8?q?Ilpo=20J=C3=A4rvinen?= , Szilard Fabian , Jonathan Woithe Cc: Arnd Bergmann , Andy Shevchenko , platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] platform/x86/fujitsu-laptop: add ACPI_BATTERY dependency Date: Wed, 28 Feb 2024 10:39:51 +0100 Message-Id: <20240228094010.2254245-1-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Arnd Bergmann The dependency is required to avoid a link failure after support for battery hooks was added: ld.lld: error: undefined symbol: battery_hook_unregister >>> referenced by fujitsu-laptop.c >>> drivers/platform/x86/fujitsu-laptop.o:(acpi_fujitsu_laptop_remove) in archive vmlinux.a Fixes: 611d56d76dee ("platform/x86/fujitsu-laptop: Add battery charge control support") Signed-off-by: Arnd Bergmann --- drivers/platform/x86/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig index 6dbd40e2aeda..d9851b79bfe5 100644 --- a/drivers/platform/x86/Kconfig +++ b/drivers/platform/x86/Kconfig @@ -371,6 +371,7 @@ config FUJITSU_LAPTOP depends on INPUT depends on BACKLIGHT_CLASS_DEVICE depends on ACPI_VIDEO || ACPI_VIDEO = n + depends on ACPI_BATTERY select INPUT_SPARSEKMAP select NEW_LEDS select LEDS_CLASS -- 2.39.2