Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1271035

Re: [PATCH] regulator: mt6311: MT6311_REGULATOR needs to select REGMAP_I2C

From Matthias Brugger <matthias.bgg@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH] regulator: mt6311: MT6311_REGULATOR needs to select REGMAP_I2C
Date 2015-11-17 11:10 +0100
Message-ID <qvLn3-3DL-1@gated-at.bofh.it> (permalink)
References <qvJXX-2zA-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw



On 17/11/15 09:36, Henry Chen wrote:
> This patch fix the below build error:
> drivers/regulator/mt6311-regulator.c:111: undefined reference to `__devm_regmap_init_i2c'
>
> Signed-off-by: Henry Chen <henryc.chen@mediatek.com>
> ---
>   drivers/regulator/Kconfig | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig
> index 8df0b0e..0067620 100644
> --- a/drivers/regulator/Kconfig
> +++ b/drivers/regulator/Kconfig
> @@ -446,6 +446,7 @@ config REGULATOR_MC13892
>   config REGULATOR_MT6311
>   	tristate "MediaTek MT6311 PMIC"
>   	depends on I2C
> +	select REGMAP_I2C
>   	help
>   	  Say y here to select this option to enable the power regulator of
>   	  MediaTek MT6311 PMIC.
>

This should also be added to v4.3
I propose that you resend it adding the tag:
Cc: stable@vger.kernel.org

as explained in Documentation/stable_kernel_rules.txt

Regards,
Matthias
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] regulator: mt6311: MT6311_REGULATOR needs to select REGMAP_I2C Henry Chen <henryc.chen@mediatek.com> - 2015-11-17 09:40 +0100
  Re: [PATCH] regulator: mt6311: MT6311_REGULATOR needs to select  REGMAP_I2C Matthias Brugger <matthias.bgg@gmail.com> - 2015-11-17 11:10 +0100
    Re: [PATCH] regulator: mt6311: MT6311_REGULATOR needs to select  REGMAP_I2C Mark Brown <broonie@kernel.org> - 2015-11-17 12:00 +0100
  Applied "regulator: mt6311: MT6311_REGULATOR needs to select REGMAP_I2C" to the regulator tree Mark Brown <broonie@kernel.org> - 2015-11-17 20:00 +0100

csiph-web