From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752484AbbJMHch (ORCPT ); Tue, 13 Oct 2015 03:32:37 -0400 Received: from mail-wi0-f174.google.com ([209.85.212.174]:33504 "EHLO mail-wi0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752059AbbJMHcg (ORCPT ); Tue, 13 Oct 2015 03:32:36 -0400 Date: Tue, 13 Oct 2015 08:32:32 +0100 From: Lee Jones To: Luis de Bethencourt Cc: linux-kernel@vger.kernel.org, sameo@linux.intel.com Subject: Re: [PATCH] mfd: Compile MFD_STW481X with COMPILE_TEST Message-ID: <20151013073232.GT17172@x1> References: <1444667167-7810-1-git-send-email-luisbg@osg.samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1444667167-7810-1-git-send-email-luisbg@osg.samsung.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 12 Oct 2015, Luis de Bethencourt wrote: > The driver depends on ARCH_NOMADIK but there isn't a build dependency > so it's a good idea to allow the driver to always be built when the > COMPILE_TEST option is enabled. > > That way, the driver can be built with a config generated by make > allyesconfig and check if a patch would break the build. > > Signed-off-by: Luis de Bethencourt > --- > drivers/mfd/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied, thanks. > diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig > index 99d6367..68d708f 100644 > --- a/drivers/mfd/Kconfig > +++ b/drivers/mfd/Kconfig > @@ -1471,7 +1471,7 @@ config MFD_WM8994 > > config MFD_STW481X > tristate "Support for ST Microelectronics STw481x" > - depends on I2C && ARCH_NOMADIK > + depends on I2C && (ARCH_NOMADIK || COMPILE_TEST) > select REGMAP_I2C > select MFD_CORE > help -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog