drivers: serial: mcux: enforce an error-free header inclusion
We need to change the order of inclusions in uart_mcux_lpuart.c, to avoid build errors. This is required since the driver structures contain a field named DATA, which is also a macro defined in the linker script. Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
This commit is contained in:
parent
9820036070
commit
cfa2fb278f
1 changed files with 2 additions and 2 deletions
|
@ -5,11 +5,11 @@
|
|||
*/
|
||||
|
||||
#include <errno.h>
|
||||
#include <soc.h>
|
||||
#include <fsl_lpuart.h>
|
||||
#include <device.h>
|
||||
#include <drivers/uart.h>
|
||||
#include <drivers/clock_control.h>
|
||||
#include <soc.h>
|
||||
#include <fsl_lpuart.h>
|
||||
|
||||
struct mcux_lpuart_config {
|
||||
LPUART_Type *base;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue