drivers: i2c: litex: add missing include
soc.h was missing for some IO r/w functions, e.g. litex_write8. Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
This commit is contained in:
parent
9e8bd2f976
commit
0e9084ff9c
|
@ -10,6 +10,8 @@
|
|||
#include <zephyr/drivers/i2c.h>
|
||||
#include "i2c_bitbang.h"
|
||||
|
||||
#include <soc.h>
|
||||
|
||||
#define SCL_BIT_POS 0
|
||||
#define SDA_DIR_BIT_POS 1
|
||||
#define SDA_BIT_W_POS 2
|
||||
|
|
Loading…
Reference in a new issue