soc: stm32: replace use of Kconfig I2C by I2C_STM32
For LL header inclusion, use _STM32 Kconfig symbol (related to the driver), rather than generic symbol, that could theoretically use an alternate solution. Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
parent
88b71bdf6c
commit
fe303c42cc
9 changed files with 11 additions and 10 deletions
|
@ -47,7 +47,7 @@
|
|||
#include <stm32l1xx_ll_exti.h>
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_I2C
|
||||
#ifdef CONFIG_I2C_STM32
|
||||
#include <stm32l1xx_ll_i2c.h>
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue