From: SungHwan Jung <onenowy@gmail.com>
To: "Hans de Goede" <hdegoede@redhat.com>,
"Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>,
"Lee, Chun-Yi" <jlee@suse.com>,
"Jean Delvare" <jdelvare@suse.com>,
"Guenter Roeck" <linux@roeck-us.net>
Cc: SungHwan Jung <onenowy@gmail.com>,
platform-driver-x86@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-hwmon@vger.kernel.org
Subject: [PATCH v4 3/3] platform/x86: acer-wmi: Fix recursive dependency for acer-wmi
Date: Fri, 24 Nov 2023 18:41:20 +0900 [thread overview]
Message-ID: <20231124094122.100707-4-onenowy@gmail.com> (raw)
In-Reply-To: <20231124094122.100707-1-onenowy@gmail.com>
"select ACPI_VIDEO" cause recursive dependency when "depends on HWMON"
is added.
---build log
drivers/hwmon/Kconfig:6:error: recursive dependency detected!
drivers/hwmon/Kconfig:6: symbol HWMON is selected by EEEPC_LAPTOP
drivers/platform/x86/Kconfig:326: symbol EEEPC_LAPTOP depends on ACPI_VIDEO
drivers/acpi/Kconfig:208: symbol ACPI_VIDEO is selected by ACER_WMI
drivers/platform/x86/Kconfig:173: symbol ACER_WMI depends on HWMON
---
It is not recommended to use "select" for visible symbol, "select" has changed
to "depends on".
This patch depends on "platform/x86: acer-wmi: add fan speed monitoring
for Predator PHN16-71"
Signed-off-by: SungHwan Jung <onenowy@gmail.com>
---
drivers/platform/x86/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig
index caf3f4c6b..33ddb644e 100644
--- a/drivers/platform/x86/Kconfig
+++ b/drivers/platform/x86/Kconfig
@@ -178,7 +178,7 @@ config ACER_WMI
depends on RFKILL || RFKILL = n
depends on ACPI_WMI
depends on HWMON
- select ACPI_VIDEO
+ depends on ACPI_VIDEO
select INPUT_SPARSEKMAP
select LEDS_CLASS
select NEW_LEDS
--
2.43.0
next prev parent reply other threads:[~2023-11-24 9:42 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-24 9:41 [PATCH v4 0/3] Add support for Acer Predator PHN16-71 SungHwan Jung
2023-11-24 9:41 ` [PATCH v4 1/3] platform/x86: acer-wmi: Add platform profile and mode key support for " SungHwan Jung
2023-11-27 11:43 ` Hans de Goede
2023-11-24 9:41 ` [PATCH v4 2/3] platform/x86: acer-wmi: add fan speed monitoring " SungHwan Jung
2023-11-27 12:15 ` Hans de Goede
2023-11-24 9:41 ` SungHwan Jung [this message]
2023-11-27 12:17 ` [PATCH v4 3/3] platform/x86: acer-wmi: Fix recursive dependency for acer-wmi Hans de Goede
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=20231124094122.100707-4-onenowy@gmail.com \
--to=onenowy@gmail.com \
--cc=hdegoede@redhat.com \
--cc=ilpo.jarvinen@linux.intel.com \
--cc=jdelvare@suse.com \
--cc=jlee@suse.com \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@roeck-us.net \
--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