lkml.org 
[lkml]   [2014]   [Jun]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: mfd: sec-core requires regulators
On Tue, 24 Jun 2014, Arnd Bergmann wrote:

> The newly added sec-core mfd module calls the regulator_suspend_prepare()
> function, which is only available if the regulator API is provided. This
> matches the usage of the driver, so we can just add a Kconfig dependency.
>
> Reported-by: Jim Davis <jim.epost@gmail.com>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>

Thanks for re-sending Arnd, patch applied.

> diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
> index 207c433..1caa3c5 100644
> --- a/drivers/mfd/Kconfig
> +++ b/drivers/mfd/Kconfig
> @@ -582,7 +582,7 @@ config MFD_RC5T583
>
> config MFD_SEC_CORE
> bool "SAMSUNG Electronics PMIC Series Support"
> - depends on I2C=y
> + depends on I2C=y && REGULATOR
> select MFD_CORE
> select REGMAP_I2C
> select REGMAP_IRQ

--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
--
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/

\
 
 \ /
  Last update: 2014-06-27 11:41    [W:0.099 / U:0.168 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site