mtd: spi-nor: stm32-quadspi: allow building with COMPILE_TEST

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Thu Jul 13 10:59:08 PDT 2017


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=ddd0503e4d780607865950e14f215bf8660ed683
Commit:     ddd0503e4d780607865950e14f215bf8660ed683
Parent:     ecca81f8cb54ce74f3d5d4ba77732a216173f7b1
Author:     Brian Norris <computersforpeace at gmail.com>
AuthorDate: Mon May 1 18:13:00 2017 -0700
Committer:  Cyrille Pitchen <cyrille.pitchen at wedev4u.fr>
CommitDate: Mon May 15 21:56:18 2017 +0200

    mtd: spi-nor: stm32-quadspi: allow building with COMPILE_TEST
    
    Cc: Ludovic Barre <ludovic.barre at st.com>
    Signed-off-by: Brian Norris <computersforpeace at gmail.com>
    Signed-off-by: Cyrille Pitchen <cyrille.pitchen at wedev4u.fr>
---
 drivers/mtd/spi-nor/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mtd/spi-nor/Kconfig b/drivers/mtd/spi-nor/Kconfig
index bfdfb1e..293c8a4 100644
--- a/drivers/mtd/spi-nor/Kconfig
+++ b/drivers/mtd/spi-nor/Kconfig
@@ -108,7 +108,7 @@ config SPI_INTEL_SPI_PLATFORM
 
 config SPI_STM32_QUADSPI
 	tristate "STM32 Quad SPI controller"
-	depends on ARCH_STM32
+	depends on ARCH_STM32 || COMPILE_TEST
 	help
 	  This enables support for the STM32 Quad SPI controller.
 	  We only connect the NOR to this controller.



More information about the linux-mtd-cvs mailing list