diff --git a/arch/arm/src/stm32f7/stm32_serial.c b/arch/arm/src/stm32f7/stm32_serial.c index 5b57549a8e..1f5445ac71 100644 --- a/arch/arm/src/stm32f7/stm32_serial.c +++ b/arch/arm/src/stm32f7/stm32_serial.c @@ -290,7 +290,7 @@ struct up_dev_s bool rxenable; /* DMA-based reception en/disable */ uint16_t rxdmain; /* Next byte in the DMA where hardware will write */ uint16_t rxdmaout; /* Next byte in the DMA buffer to be read */ - VAR char * const rxfifo; /* Receive DMA buffer */ + char *const rxfifo; /* Receive DMA buffer */ #endif #ifdef HAVE_RS485