From: Cryolitia PukNgae Date: Wed, 24 Sep 2025 07:48:38 +0000 (+0800) Subject: hwmon: (gpd-fan) complete Kconfig dependencies X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=205c730262215fe1940668394a856f69ece55c66;p=users%2Fjedix%2Flinux-maple.git hwmon: (gpd-fan) complete Kconfig dependencies DMI and HAS_IOPORT is also needed Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202509200214.i2QX7iwD-lkp@intel.com/ Signed-off-by: Cryolitia PukNgae Link: https://lore.kernel.org/r/20250924-hwmon2-v1-1-fc529865a325@uniontech.com Signed-off-by: Guenter Roeck --- diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig index d6769288a76e..d61014d7968a 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.