linux-hwmon.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1] hwmon: (tmp513) Fix build issue by selecting CONFIG_REGMAP and CONFIG_REGMAP_I2C
@ 2020-03-21 23:47 Mike Pagano
  2020-03-22 20:55 ` Guenter Roeck
  0 siblings, 1 reply; 2+ messages in thread
From: Mike Pagano @ 2020-03-21 23:47 UTC (permalink / raw)
  To: linux-hwmon; +Cc: etremblay

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

Reported-by: Phil Stracchino <phils@caerllewys.net>
Signed-off-by: Mike Pagano <mpagano@gentoo.org>
---
 drivers/hwmon/Kconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig
index 47ac20aee06f..6edf8522447d 100644
--- a/drivers/hwmon/Kconfig
+++ b/drivers/hwmon/Kconfig
@@ -1769,6 +1769,8 @@ config SENSORS_TMP421
 config SENSORS_TMP513
     tristate "Texas Instruments TMP513 and compatibles"
     depends on I2C
+    select REGMAP
+    select REGMAP_I2C
     help
       If you say yes here you get support for Texas Instruments TMP512,
       and TMP513 temperature and power supply sensor chips.
-- 
2.24.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 1/1] hwmon: (tmp513) Fix build issue by selecting CONFIG_REGMAP and CONFIG_REGMAP_I2C
  2020-03-21 23:47 [PATCH 1/1] hwmon: (tmp513) Fix build issue by selecting CONFIG_REGMAP and CONFIG_REGMAP_I2C Mike Pagano
@ 2020-03-22 20:55 ` Guenter Roeck
  0 siblings, 0 replies; 2+ messages in thread
From: Guenter Roeck @ 2020-03-22 20:55 UTC (permalink / raw)
  To: Mike Pagano; +Cc: linux-hwmon, etremblay

On Sat, Mar 21, 2020 at 07:47:26PM -0400, Mike Pagano wrote:
> This driver requires REGMAP and REGMAP_I2C to build.  Select both by default
> in Kconfig. Reported at gentoo bugzilla: https://bugs.gentoo.org/710790
> 
> Reported-by: Phil Stracchino <phils@caerllewys.net>
> Signed-off-by: Mike Pagano <mpagano@gentoo.org>
> ---
>  drivers/hwmon/Kconfig | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig
> index 47ac20aee06f..6edf8522447d 100644
> --- a/drivers/hwmon/Kconfig
> +++ b/drivers/hwmon/Kconfig
> @@ -1769,6 +1769,8 @@ config SENSORS_TMP421
>  config SENSORS_TMP513
>      tristate "Texas Instruments TMP513 and compatibles"
>      depends on I2C
> +    select REGMAP
> +    select REGMAP_I2C

REGMAP is auto-selected by REGMAP_I2C, and can not be (de-)selected on its
own. Selecting both is never necessary.

Guenter

>      help
>        If you say yes here you get support for Texas Instruments TMP512,
>        and TMP513 temperature and power supply sensor chips.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-03-22 20:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-21 23:47 [PATCH 1/1] hwmon: (tmp513) Fix build issue by selecting CONFIG_REGMAP and CONFIG_REGMAP_I2C Mike Pagano
2020-03-22 20:55 ` Guenter Roeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).