From nobody Fri Dec 19 07:50:53 2025 Received: from xavier.telenet-ops.be (xavier.telenet-ops.be [195.130.132.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 37F0D1EF080 for ; Thu, 10 Apr 2025 08:31:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.130.132.52 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744273865; cv=none; b=nZhzUGRamMDToIDpwLViDlV9g2n7ZdsBs6RqmqRUq/+yRfOJ4MRgGwxaq68go2LykIzDBpbaNhZh/7D2/9n0KP7riKwo1ucgzSgejeOTgSZ9O2e00S2Sp/kAg7FaKFSjzkqMdGBsA5D2Ma5ueWuldEDysfHnE0d9RosieD3owPw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744273865; c=relaxed/simple; bh=WNxzZulseYfokjA82gBJGgk0nI2uc03lGM7VmIHXjtA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=I+8ZghALLxB7EOkqSYCRM8gMgjuKqQK1EFdhPRrHzYgAkXlYYMIIZBOrrdW4MXnj6TVNH6IZZVFZ0+C1tP10izdmRxUhGjPldcwQNflPI0Ugtq/JBhCbb5EUCWayYwWqq+gakrfi9VB/z60epHFuVsB7GBw/opodtvlUSSyPk7w= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be; spf=none smtp.mailfrom=linux-m68k.org; arc=none smtp.client-ip=195.130.132.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux-m68k.org Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed80:1f1c:893d:f419:6517]) by xavier.telenet-ops.be with cmsmtp id bLWz2E00N3xgA3j01LWz1B; Thu, 10 Apr 2025 10:31:00 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.97) (envelope-from ) id 1u2nJK-00000000Gmy-2vB9; Thu, 10 Apr 2025 10:30:59 +0200 Received: from geert by rox.of.borg with local (Exim 4.97) (envelope-from ) id 1u2nJL-00000009IPN-3MAN; Thu, 10 Apr 2025 10:30:59 +0200 From: Geert Uytterhoeven To: Jiri Kosina , Benjamin Tissoires , Aditya Garg , Kerem Karabay Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH v2 2/2] HID: HID_APPLETB_BL should depend on X86 Date: Thu, 10 Apr 2025 10:30:57 +0200 Message-ID: <9f1fcef9094c62eea84872a5d4ba04eaf46f664e.1744273511.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" The Apple Touch Bar is only present on x86 MacBook Pros. Hence add a dependency on X86, to prevent asking the user about this driver when configuring a kernel for a different architecture. Fixes: 1fd41e5e3d7cc556 ("HID: hid-appletb-bl: add driver for the backlight= of Apple Touch Bars") Signed-off-by: Geert Uytterhoeven --- This is v2 of "HID: HID_APPLETB_BL and HID_APPLETB_KBD should depend on X86". v2: - Split in two patches. --- drivers/hid/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig index 119e5190a2df786e..43859fc757470caf 100644 --- a/drivers/hid/Kconfig +++ b/drivers/hid/Kconfig @@ -151,6 +151,7 @@ config HID_APPLEIR config HID_APPLETB_BL tristate "Apple Touch Bar Backlight" depends on BACKLIGHT_CLASS_DEVICE + depends on X86 || COMPILE_TEST help Say Y here if you want support for the backlight of Touch Bars on x86 MacBook Pros. --=20 2.43.0