[PATCH] hwmon: (gpd-fan) complete Kconfig dependencies

Cryolitia PukNgae via B4 Relay posted 1 patch 1 week ago
drivers/hwmon/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] hwmon: (gpd-fan) complete Kconfig dependencies
Posted by Cryolitia PukNgae via B4 Relay 1 week ago
From: Cryolitia PukNgae <cryolitia@uniontech.com>

DMI and HAS_IOPORT is also needed

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202509200214.i2QX7iwD-lkp@intel.com/
Signed-off-by: Cryolitia PukNgae <cryolitia@uniontech.com>
---
 drivers/hwmon/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig
index d6769288a76e81f79d2fdf4e6a9943db1466fa54..d61014d7968a4ab77c055a744837b106ae112aa3 100644
--- a/drivers/hwmon/Kconfig
+++ b/drivers/hwmon/Kconfig
@@ -771,7 +771,7 @@ config SENSORS_GL520SM
 
 config SENSORS_GPD
 	tristate "GPD handhelds"
-	depends on X86
+	depends on X86 && DMI && HAS_IOPORT
 	help
 	  If you say yes here you get support for fan readings and
 	  control over GPD handheld devices.

---
base-commit: 80038a758b7fc0cdb6987532cbbf3f75b13e0826
change-id: 20250924-hwmon2-dcd2a94a7704

Best regards,
-- 
Cryolitia PukNgae <cryolitia@uniontech.com>
Re: [PATCH] hwmon: (gpd-fan) complete Kconfig dependencies
Posted by Guenter Roeck 1 week ago
On Wed, Sep 24, 2025 at 03:48:38PM +0800, Cryolitia PukNgae wrote:
> From: Cryolitia PukNgae <cryolitia@uniontech.com>
> 
> DMI and HAS_IOPORT is also needed
> 
> Reported-by: kernel test robot <lkp@intel.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202509200214.i2QX7iwD-lkp@intel.com/
> Signed-off-by: Cryolitia PukNgae <cryolitia@uniontech.com>

Applied.

Guenter