Re: [PATCH] hwmon: (w83773g) Select REGMAP_I2C to fix build error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Mar 11, 2019 at 05:57:30PM +0800, Axel Lin wrote:
> Select REGMAP_I2C to avoid below build error:
> ERROR: "__devm_regmap_init_i2c" [drivers/hwmon/w83773g.ko] undefined!
> 
> Signed-off-by: Axel Lin <axel.lin@xxxxxxxxxx>

Applied.

Thanks,
Guenter

> ---
>  drivers/hwmon/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig
> index 6f929bfa9fcd..d0f1dfe2bcbb 100644
> --- a/drivers/hwmon/Kconfig
> +++ b/drivers/hwmon/Kconfig
> @@ -1759,6 +1759,7 @@ config SENSORS_VT8231
>  config SENSORS_W83773G
>  	tristate "Nuvoton W83773G"
>  	depends on I2C
> +	select REGMAP_I2C
>  	help
>  	  If you say yes here you get support for the Nuvoton W83773G hardware
>  	  monitoring chip.



[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux