]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
hwmon: (gpd-fan) complete Kconfig dependencies
authorCryolitia PukNgae <cryolitia@uniontech.com>
Wed, 24 Sep 2025 07:48:38 +0000 (15:48 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 24 Sep 2025 14:48:55 +0000 (07:48 -0700)
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>
Link: https://lore.kernel.org/r/20250924-hwmon2-v1-1-fc529865a325@uniontech.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/Kconfig

index d6769288a76e81f79d2fdf4e6a9943db1466fa54..d61014d7968a4ab77c055a744837b106ae112aa3 100644 (file)
@@ -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.