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:
Ioannis Glaropoulos 2019-09-24 23:54:45 +02:00 committed by Anas Nashif
commit cfa2fb278f

View file

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