From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lee Jones Subject: Re: mfd: sec-core requires regulators Date: Fri, 27 Jun 2014 10:09:58 +0100 Message-ID: <20140627090957.GG19645@lee--X1> References: <29237234.T7oGEGKuvp@wuerfel> <20140624154833.GR13803@lee--X1> <6906564.1ehoeq1QjB@wuerfel> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Content-Disposition: inline In-Reply-To: <6906564.1ehoeq1QjB@wuerfel> Sender: linux-kernel-owner@vger.kernel.org To: Arnd Bergmann Cc: Jim Davis , sfr@canb.auug.org.au, linux-next , linux-kernel , sbkim73@samsung.com, sameo@linux.intel.com, grant.likely@linaro.org, robh+dt@kernel.org, devicetree List-Id: devicetree@vger.kernel.org On Tue, 24 Jun 2014, Arnd Bergmann wrote: > The newly added sec-core mfd module calls the regulator_suspend_prepa= re() > function, which is only available if the regulator API is provided. T= his > matches the usage of the driver, so we can just add a Kconfig depende= ncy. >=20 > Reported-by: Jim Davis > Signed-off-by: Arnd Bergmann 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 > =20 > config MFD_SEC_CORE > bool "SAMSUNG Electronics PMIC Series Support" > - depends on I2C=3Dy > + depends on I2C=3Dy && REGULATOR > select MFD_CORE > select REGMAP_I2C > select REGMAP_IRQ --=20 Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org =E2=94=82 Open source software for ARM SoCs =46ollow Linaro: Facebook | Twitter | Blog