drivers/i2c: stm32: Configure driver by compatible
Use compatible information to configure i2c stm32. With this, driver version selection is done thanks to compatible and it is not needed anymore to do this via Kconfig symbol selection under soc/ Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
parent
1985ddf236
commit
9580992b3e
16 changed files with 7 additions and 63 deletions
|
@ -44,7 +44,7 @@
|
|||
#include <stm32l0xx_ll_rcc.h>
|
||||
#endif /* CONFIG_CLOCK_CONTROL_STM32_CUBE */
|
||||
|
||||
#ifdef CONFIG_I2C_STM32_V2
|
||||
#ifdef CONFIG_I2C_STM32
|
||||
#include <stm32l0xx_ll_i2c.h>
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue