Linux Hardware Monitor development
 help / color / mirror / Atom feed
From: Javier Carrasco <javier.carrasco.cruz@gmail.com>
To: Jean Delvare <jdelvare@suse.com>, Guenter Roeck <linux@roeck-us.net>
Cc: linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org,
	 Javier Carrasco <javier.carrasco.cruz@gmail.com>
Subject: [PATCH 3/4] hwmon: (ltc2991) Add missing dependency on REGMAP_I2C
Date: Wed, 02 Oct 2024 03:08:10 +0200	[thread overview]
Message-ID: <20241002-hwmon-select-regmap-v1-3-548d03268934@gmail.com> (raw)
In-Reply-To: <20241002-hwmon-select-regmap-v1-0-548d03268934@gmail.com>

This driver requires REGMAP_I2C to be selected in order to get access to
regmap_config and devm_regmap_init_i2c. Add the missing dependency.

Fixes: 2b9ea4262ae9 ("hwmon: Add driver for ltc2991")
Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
---
 drivers/hwmon/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig
index d4a9440a5fca..5152c71402ca 100644
--- a/drivers/hwmon/Kconfig
+++ b/drivers/hwmon/Kconfig
@@ -1001,6 +1001,7 @@ config SENSORS_LTC2990
 config SENSORS_LTC2991
 	tristate "Analog Devices LTC2991"
 	depends on I2C
+	select REGMAP_I2C
 	help
 	  If you say yes here you get support for Analog Devices LTC2991
 	  Octal I2C Voltage, Current, and Temperature Monitor. The LTC2991

-- 
2.43.0


  parent reply	other threads:[~2024-10-02  1:08 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-02  1:08 [PATCH 0/4] hwmon: add missing REGMAP_I2C dependencies Javier Carrasco
2024-10-02  1:08 ` [PATCH 1/4] hwmon: (adm9240) Add missing dependency on REGMAP_I2C Javier Carrasco
2024-10-02 13:55   ` Guenter Roeck
2024-10-02  1:08 ` [PATCH 2/4] hwmon: (adt7470) " Javier Carrasco
2024-10-02 13:56   ` Guenter Roeck
2024-10-02  1:08 ` Javier Carrasco [this message]
2024-10-02 13:56   ` [PATCH 3/4] hwmon: (ltc2991) " Guenter Roeck
2024-10-02  1:08 ` [PATCH 4/4] hwmon: (max1668) " Javier Carrasco
2024-10-02 13:57   ` Guenter Roeck

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20241002-hwmon-select-regmap-v1-3-548d03268934@gmail.com \
    --to=javier.carrasco.cruz@gmail.com \
    --cc=jdelvare@suse.com \
    --cc=linux-hwmon@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@roeck-us.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox