* [PATCH] spi: clps711x: Enable driver compilation with COMPILE_TEST
@ 2014-03-26 8:22 Axel Lin
2014-03-26 8:31 ` Alexander Shiyan
0 siblings, 1 reply; 5+ messages in thread
From: Axel Lin @ 2014-03-26 8:22 UTC (permalink / raw)
To: Mark Brown; +Cc: Alexander Shiyan, linux-spi-u79uwXL29TY76Z2rM5mHXA
This helps increasing build testing coverage.
This driver uses SYSCON APIs, so it needs to depend on MFD_SYSCON.
Signed-off-by: Axel Lin <axel.lin-8E1dMatC8ynQT0dZR+AlfA@public.gmane.org>
---
drivers/spi/Kconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index 1ee6a54..78ca395 100644
--- a/drivers/spi/Kconfig
+++ b/drivers/spi/Kconfig
@@ -150,7 +150,8 @@ config SPI_BUTTERFLY
config SPI_CLPS711X
tristate "CLPS711X host SPI controller"
- depends on ARCH_CLPS711X
+ depends on MFD_SYSCON
+ depends on ARCH_CLPS711X || COMPILE_TEST
help
This enables dedicated general purpose SPI/Microwire1-compatible
master mode interface (SSI1) for CLPS711X-based CPUs.
--
1.8.3.2
--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] spi: clps711x: Enable driver compilation with COMPILE_TEST
2014-03-26 8:22 [PATCH] spi: clps711x: Enable driver compilation with COMPILE_TEST Axel Lin
@ 2014-03-26 8:31 ` Alexander Shiyan
[not found] ` <1395822666.112180924-lVoEP/phaDtsdVUOrk1QfQ@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: Alexander Shiyan @ 2014-03-26 8:31 UTC (permalink / raw)
To: Axel Lin; +Cc: linux-spi-u79uwXL29TY76Z2rM5mHXA, Mark Brown
Wed, 26 Mar 2014 16:22:50 +0800 от Axel Lin <axel.lin@ingics.com>:
> This helps increasing build testing coverage.
> This driver uses SYSCON APIs, so it needs to depend on MFD_SYSCON.
>
> Signed-off-by: Axel Lin <axel.lin@ingics.com>
> ---
> drivers/spi/Kconfig | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
> index 1ee6a54..78ca395 100644
> --- a/drivers/spi/Kconfig
> +++ b/drivers/spi/Kconfig
> @@ -150,7 +150,8 @@ config SPI_BUTTERFLY
>
> config SPI_CLPS711X
> tristate "CLPS711X host SPI controller"
> - depends on ARCH_CLPS711X
> + depends on MFD_SYSCON
> + depends on ARCH_CLPS711X || COMPILE_TEST
> help
> This enables dedicated general purpose SPI/Microwire1-compatible
> master mode interface (SSI1) for CLPS711X-based CPUs.
> --
MFD_SYSCON is selected by ARCH_CLPS711X and this symbol is
not needed for COMPILE_TEST, so I am do not agree with this patch.
---
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-03-26 8:53 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-26 8:22 [PATCH] spi: clps711x: Enable driver compilation with COMPILE_TEST Axel Lin
2014-03-26 8:31 ` Alexander Shiyan
[not found] ` <1395822666.112180924-lVoEP/phaDtsdVUOrk1QfQ@public.gmane.org>
2014-03-26 8:34 ` Axel Lin
[not found] ` <CAFRkauAS-q0+z1YKvbU=j==faK48WHgWdDmSnjjtcEnJWG8syA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-03-26 8:36 ` Alexander Shiyan
[not found] ` <1395822990.6485242-lVoEP/phaDtsdVUOrk1QfQ@public.gmane.org>
2014-03-26 8:53 ` Axel Lin
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.