This is an automated email from the ASF dual-hosted git repository. acassis pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit d3da5e633ce56785423f7576fc17314648c6905f Author: Kerogit <kr....@kerogit.eu> AuthorDate: Sun Jul 6 23:20:51 2025 +0200 arch/avr/avrdx/avrdx_serial: make uart_ops_s structure const The structure never changes and should be therefore marked as const. Signed-off-by: Kerogit <kr....@kerogit.eu> --- arch/avr/src/avrdx/avrdx_serial.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/avr/src/avrdx/avrdx_serial.c b/arch/avr/src/avrdx/avrdx_serial.c index 2b427f465c1..308b960949a 100644 --- a/arch/avr/src/avrdx/avrdx_serial.c +++ b/arch/avr/src/avrdx/avrdx_serial.c @@ -184,7 +184,7 @@ static const IOBJ uint8_t avrdx_usart_dre_interrupts[] = /* USARTn operations - common for all ports */ -static struct uart_ops_s g_usart_ops = +static const struct uart_ops_s g_usart_ops = { .setup = avrdx_usart_setup, .shutdown = avrdx_usart_shutdown,