diff mbox

spi: xtensa-xtfpga: Enable driver compilation with COMPILE_TEST

Message ID 1395310084.10512.1.camel@phoenix (mailing list archive)
State Accepted
Commit be8dde46750be49fbf161dccd568b5cd14d3f004
Headers show

Commit Message

Axel Lin March 20, 2014, 10:08 a.m. UTC
This helps increasing build testing coverage.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
 drivers/spi/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Max Filippov March 20, 2014, 12:50 p.m. UTC | #1
On Thu, Mar 20, 2014 at 2:08 PM, Axel Lin <axel.lin@ingics.com> wrote:
> This helps increasing build testing coverage.
>
> Signed-off-by: Axel Lin <axel.lin@ingics.com>
> ---
>  drivers/spi/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Max Filippov <jcmvbkbc@gmail.com>

> diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
> index b35aa8e..1ee6a54 100644
> --- a/drivers/spi/Kconfig
> +++ b/drivers/spi/Kconfig
> @@ -540,7 +540,7 @@ config SPI_XILINX
>
>  config SPI_XTENSA_XTFPGA
>         tristate "Xtensa SPI controller for xtfpga"
> -       depends on XTENSA && XTENSA_PLATFORM_XTFPGA
> +       depends on (XTENSA && XTENSA_PLATFORM_XTFPGA) || COMPILE_TEST
>         select SPI_BITBANG
>         help
>           SPI driver for xtfpga SPI master controller.
> --
> 1.8.3.2
Mark Brown March 21, 2014, 6:11 p.m. UTC | #2
On Thu, Mar 20, 2014 at 06:08:04PM +0800, Axel Lin wrote:
> This helps increasing build testing coverage.

Applied, thanks.
diff mbox

Patch

diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index b35aa8e..1ee6a54 100644
--- a/drivers/spi/Kconfig
+++ b/drivers/spi/Kconfig
@@ -540,7 +540,7 @@  config SPI_XILINX
 
 config SPI_XTENSA_XTFPGA
 	tristate "Xtensa SPI controller for xtfpga"
-	depends on XTENSA && XTENSA_PLATFORM_XTFPGA
+	depends on (XTENSA && XTENSA_PLATFORM_XTFPGA) || COMPILE_TEST
 	select SPI_BITBANG
 	help
 	  SPI driver for xtfpga SPI master controller.