Browse Source

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

Cc: Ludovic Barre <ludovic.barre@st.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Cyrille Pitchen <cyrille.pitchen@wedev4u.fr>
Brian Norris 8 years ago
parent
commit
ddd0503e4d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/mtd/spi-nor/Kconfig

+ 1 - 1
drivers/mtd/spi-nor/Kconfig

@@ -108,7 +108,7 @@ config SPI_INTEL_SPI_PLATFORM
 
 
 config SPI_STM32_QUADSPI
 config SPI_STM32_QUADSPI
 	tristate "STM32 Quad SPI controller"
 	tristate "STM32 Quad SPI controller"
-	depends on ARCH_STM32
+	depends on ARCH_STM32 || COMPILE_TEST
 	help
 	help
 	  This enables support for the STM32 Quad SPI controller.
 	  This enables support for the STM32 Quad SPI controller.
 	  We only connect the NOR to this controller.
 	  We only connect the NOR to this controller.