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


Groups > linux.kernel > #1244871 > unrolled thread

[PATCH] mfd: Compile MFD_STW481X with COMPILE_TEST

Started byLuis de Bethencourt <luisbg@osg.samsung.com>
First post2015-10-12 18:30 +0200
Last post2015-10-13 09:40 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] mfd: Compile MFD_STW481X with COMPILE_TEST Luis de Bethencourt <luisbg@osg.samsung.com> - 2015-10-12 18:30 +0200
    Re: [PATCH] mfd: Compile MFD_STW481X with COMPILE_TEST Lee Jones <lee.jones@linaro.org> - 2015-10-13 09:40 +0200

#1244871 — [PATCH] mfd: Compile MFD_STW481X with COMPILE_TEST

FromLuis de Bethencourt <luisbg@osg.samsung.com>
Date2015-10-12 18:30 +0200
Subject[PATCH] mfd: Compile MFD_STW481X with COMPILE_TEST
Message-ID<qiO93-4kn-1@gated-at.bofh.it>
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 <luisbg@osg.samsung.com>
---
 drivers/mfd/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
-- 
2.5.3

--
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/

[toc] | [next] | [standalone]


#1245412

FromLee Jones <lee.jones@linaro.org>
Date2015-10-13 09:40 +0200
Message-ID<qj2lI-8ci-13@gated-at.bofh.it>
In reply to#1244871
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 <luisbg@osg.samsung.com>
> ---
>  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
--
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/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web