* [PATCH] mfd: abx500-core: Allow driver to built if COMPILE_TEST is enabled
@ 2016-10-14 12:57 Javier Martinez Canillas
2016-10-26 12:37 ` Lee Jones
0 siblings, 1 reply; 2+ messages in thread
From: Javier Martinez Canillas @ 2016-10-14 12:57 UTC (permalink / raw)
To: linux-kernel; +Cc: Javier Martinez Canillas, Lee Jones
The driver only has runtime but no build time dependency with ARCH_U300 ||
ARCH_U8500 So it can be built for testing purposes if COMPILE_TEST option
is enabled.
This is useful to have more build coverage and make sure that the driver
is not affected by changes that could cause build regressions.
Signed-off-by: Javier Martinez Canillas <javier@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 c6df6442ba2b..3eb97893a377 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -955,7 +955,7 @@ config MFD_SMSC
config ABX500_CORE
bool "ST-Ericsson ABX500 Mixed Signal Circuit register functions"
- default y if ARCH_U300 || ARCH_U8500
+ default y if ARCH_U300 || ARCH_U8500 || COMPILE_TEST
help
Say yes here if you have the ABX500 Mixed Signal IC family
chips. This core driver expose register access functions.
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] mfd: abx500-core: Allow driver to built if COMPILE_TEST is enabled
2016-10-14 12:57 [PATCH] mfd: abx500-core: Allow driver to built if COMPILE_TEST is enabled Javier Martinez Canillas
@ 2016-10-26 12:37 ` Lee Jones
0 siblings, 0 replies; 2+ messages in thread
From: Lee Jones @ 2016-10-26 12:37 UTC (permalink / raw)
To: Javier Martinez Canillas; +Cc: linux-kernel
On Fri, 14 Oct 2016, Javier Martinez Canillas wrote:
> The driver only has runtime but no build time dependency with ARCH_U300 ||
> ARCH_U8500 So it can be built for testing purposes if COMPILE_TEST option
> is enabled.
>
> This is useful to have more build coverage and make sure that the driver
> is not affected by changes that could cause build regressions.
>
> Signed-off-by: Javier Martinez Canillas <javier@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 c6df6442ba2b..3eb97893a377 100644
> --- a/drivers/mfd/Kconfig
> +++ b/drivers/mfd/Kconfig
> @@ -955,7 +955,7 @@ config MFD_SMSC
>
> config ABX500_CORE
> bool "ST-Ericsson ABX500 Mixed Signal Circuit register functions"
> - default y if ARCH_U300 || ARCH_U8500
> + default y if ARCH_U300 || ARCH_U8500 || COMPILE_TEST
> help
> Say yes here if you have the ABX500 Mixed Signal IC family
> chips. This core driver expose register access functions.
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-10-26 12:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-14 12:57 [PATCH] mfd: abx500-core: Allow driver to built if COMPILE_TEST is enabled Javier Martinez Canillas
2016-10-26 12:37 ` Lee Jones
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).