Skip to contentSkip to conversation

hwmon: (tmp513) Fix build issue by selecting CONFIG_REGMAP_I2C

PATCH In review Mike Pagano 2 participants 2 messages Mar 23, 2020 Hardware monitoring

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hwmon: (tmp513) Fix build issue by selecting CONFIG_REGMAP_I2C

Thanks for the review, Guenter.
---

This driver requires REGMAP_I2C to build. Select it by default in Kconfig. Reported at gentoo bugzilla: https://bugs.gentoo.org/710790

---
 drivers/hwmon/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/hwmon/Kconfig +1 -0
index 47ac20aee06f..530b4f29ba85 100644
@@ -1769,6 +1769,7 @@ config SENSORS_TMP421
 config SENSORS_TMP513
  tristate "Texas Instruments TMP513 and compatibles"
  depends on I2C
+ select REGMAP_I2C
  help
    If you say yes here you get support for Texas Instruments TMP512,
    and TMP513 temperature and power supply sensor chips.
Signature · 1 line
2.24.1
maintainer
#1 lore raw
Quoted 2 lines · Mike Pagano

Thanks for the review, Guenter.
---

Please have a look into Documentation/process/submitting-patches.rst.

This is not a resubmit, and above comments should come after ---, not before it. On top of that, it is corrupted (tabs replaced with spaces).

Guenter

Quoted 26 lines

This driver requires REGMAP_I2C to build. Select it by default in Kconfig. Reported at gentoo bugzilla: https://bugs.gentoo.org/710790

---
 drivers/hwmon/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/hwmon/Kconfig +1 -0
index 47ac20aee06f..530b4f29ba85 100644
@@ -1769,6 +1769,7 @@ config SENSORS_TMP421
 config SENSORS_TMP513
  tristate "Texas Instruments TMP513 and compatibles"
  depends on I2C
+ select REGMAP_I2C
  help
    If you say yes here you get support for Texas Instruments TMP512,
    and TMP513 temperature and power supply sensor chips.
Signature · 1 line
2.24.1