]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
hwmon: (max6697) add missing 'select REGMAP_I2C' to Kconfig
authorJoshua Crofts <joshua.crofts1@gmail.com>
Mon, 29 Jun 2026 19:17:41 +0000 (21:17 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 29 Jun 2026 20:39:06 +0000 (13:39 -0700)
The Kconfig entry for the MAX6697 sensor doesn't contain a
`select REGMAP_I2C` parameter, causing build failures if regmap
isn't selected previously during the build process.

Fixes: 3a2a8cc3fe24 ("hwmon: (max6697) Convert to use regmap")
Cc: stable@vger.kernel.org
Signed-off-by: Joshua Crofts <joshua.crofts1@gmail.com>
Link: https://lore.kernel.org/r/20260629-add-kconfig-deps-v1-3-8104df929b1a@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/Kconfig

index cc593fbfa4ccb8bb251eff43df38c97b21285aec..2bfbcc033d599ce2eacd57c8ca64746f87519353 100644 (file)
@@ -1368,6 +1368,7 @@ config SENSORS_MAX6650
 config SENSORS_MAX6697
        tristate "Maxim MAX6697 and compatibles"
        depends on I2C
+       select REGMAP_I2C
        help
          If you say yes here you get support for MAX6581, MAX6602, MAX6622,
          MAX6636, MAX6689, MAX6693, MAX6694, MAX6697, MAX6698, and MAX6699