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:
Gerard Marull-Paretas 2024-01-18 14:49:05 +01:00 committed by Fabio Baltieri
parent 9e8bd2f976
commit 0e9084ff9c

View file

@ -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