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

Fixes: b0bd407e94b0 ("hwmon: (ltc2992) Add support")
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-2-8104df929b1a@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/Kconfig

index a908e22bf166d2d3e55ced32bb6ef61006cf46ba..cc593fbfa4ccb8bb251eff43df38c97b21285aec 100644 (file)
@@ -1098,6 +1098,7 @@ config SENSORS_LTC2992
        tristate "Linear Technology LTC2992"
        depends on I2C
        depends on GPIOLIB
+       select REGMAP_I2C
        help
          If you say yes here you get support for Linear Technology LTC2992
          I2C System Monitor. The LTC2992 measures current, voltage, and