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>
This commit is contained in:
Brian Norris 2017-05-01 18:13:00 -07:00 committed by Cyrille Pitchen
parent ecca81f8cb
commit ddd0503e4d

View File

@ -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.