From: "Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>
To: Arnd Bergmann <arnd@kernel.org>,
"Derek J. Clark" <derekjohn.clark@gmail.com>
Cc: Mark Pearson <mpearson-lenovo@squebb.ca>,
Hans de Goede <hansg@kernel.org>, Armin Wolf <W_Armin@gmx.de>,
Arnd Bergmann <arnd@arndb.de>,
Alok Tiwari <alok.a.tiwari@oracle.com>,
Mario Limonciello <mario.limonciello@amd.com>,
Jelle van der Waa <jvanderwaa@redhat.com>,
platform-driver-x86@vger.kernel.org,
LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] platform/x86: lenovo: gamezone needs "other mode"
Date: Fri, 11 Jul 2025 17:55:50 +0300 (EEST) [thread overview]
Message-ID: <dd727ab6-a754-77fd-5876-fec076c8905a@linux.intel.com> (raw)
In-Reply-To: <20250709151734.1268435-1-arnd@kernel.org>
On Wed, 9 Jul 2025, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@arndb.de>
>
> Registering the "other mode" notifier fails if that is disabled:
>
> x86_64-linux-ld: drivers/platform/x86/lenovo/wmi-gamezone.o: in function `lwmi_gz_probe':
> wmi-gamezone.c:(.text+0x336): undefined reference to `devm_lwmi_om_register_notifier'
>
> This could be fixed by adding a stub helper, but a Kconfig 'select'
> seems simpler here.
>
> Fixes: 22024ac5366f ("platform/x86: Add Lenovo Gamezone WMI Driver")
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> ---
> drivers/platform/x86/lenovo/Kconfig | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/drivers/platform/x86/lenovo/Kconfig b/drivers/platform/x86/lenovo/Kconfig
> index b76157b35296..e9e1c3268373 100644
> --- a/drivers/platform/x86/lenovo/Kconfig
> +++ b/drivers/platform/x86/lenovo/Kconfig
> @@ -250,8 +250,7 @@ config LENOVO_WMI_GAMEZONE
> depends on ACPI_WMI
> depends on DMI
> select ACPI_PLATFORM_PROFILE
> - select LENOVO_WMI_EVENTS
> - select LENOVO_WMI_HELPERS
> + select LENOVO_WMI_TUNING
Why did you remove the other two?
Do select propagate properly these days across another select? I was under
impression they don't which is one of the reasons use of select is
discouraged.
--
i.
next prev parent reply other threads:[~2025-07-11 14:55 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-09 15:17 Arnd Bergmann
2025-07-11 14:55 ` Ilpo Järvinen [this message]
2025-07-11 15:09 ` Arnd Bergmann
2025-07-11 15:34 ` Ilpo Järvinen
2025-07-11 15:36 ` Arnd Bergmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=dd727ab6-a754-77fd-5876-fec076c8905a@linux.intel.com \
--to=ilpo.jarvinen@linux.intel.com \
--cc=W_Armin@gmx.de \
--cc=alok.a.tiwari@oracle.com \
--cc=arnd@arndb.de \
--cc=arnd@kernel.org \
--cc=derekjohn.clark@gmail.com \
--cc=hansg@kernel.org \
--cc=jvanderwaa@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mario.limonciello@amd.com \
--cc=mpearson-lenovo@squebb.ca \
--cc=platform-driver-x86@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®