From 411dc003ee8aca8e74832ec992fb6c7f3afb022f Mon Sep 17 00:00:00 2001 From: Armando Visconti Date: Wed, 8 Aug 2018 14:29:45 +0200 Subject: [PATCH] arch: arm: soc: stm32f4xx: Add LL include file also for I2S case stm32f4xx_ll_spi.h include file is shared between I2S and SPI (controller is same). So we need to include it even when I2S_STM32 is enabled. Signed-off-by: Armando Visconti --- soc/arm/st_stm32/stm32f4/soc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/soc/arm/st_stm32/stm32f4/soc.h b/soc/arm/st_stm32/stm32f4/soc.h index e8ced04685d..098502c5d0b 100644 --- a/soc/arm/st_stm32/stm32f4/soc.h +++ b/soc/arm/st_stm32/stm32f4/soc.h @@ -47,7 +47,7 @@ #include #endif -#ifdef CONFIG_SPI_STM32 +#if defined(CONFIG_SPI_STM32) || defined(CONFIG_I2S_STM32) #include #endif