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:
Erwan Gouriou 2019-10-10 11:11:57 +02:00 committed by Maureen Helm
commit fe303c42cc
9 changed files with 11 additions and 10 deletions

View file

@ -55,7 +55,7 @@
#include <stm32l4xx_ll_spi.h>
#endif
#ifdef CONFIG_I2C
#ifdef CONFIG_I2C_STM32
#include <stm32l4xx_ll_i2c.h>
#endif