drivers: serial: liteuart: add missing include
soc.h was missing to access custom IO read/write functions, e.g. litex_read8. Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
This commit is contained in:
parent
183dd20424
commit
5e17b89804
|
@ -14,6 +14,8 @@
|
|||
#include <zephyr/drivers/uart.h>
|
||||
#include <zephyr/types.h>
|
||||
|
||||
#include <soc.h>
|
||||
|
||||
#define UART_RXTX_ADDR DT_INST_REG_ADDR_BY_NAME(0, rxtx)
|
||||
#define UART_TXFULL_ADDR DT_INST_REG_ADDR_BY_NAME(0, txfull)
|
||||
#define UART_RXEMPTY_ADDR DT_INST_REG_ADDR_BY_NAME(0, rxempty)
|
||||
|
|
Loading…
Reference in a new issue