diff --git a/arch/risc-v/src/common/espressif/esp_lowputc.c b/arch/risc-v/src/common/espressif/esp_lowputc.c index 29296569cbe68..c78344f06d2aa 100644 --- a/arch/risc-v/src/common/espressif/esp_lowputc.c +++ b/arch/risc-v/src/common/espressif/esp_lowputc.c @@ -207,7 +207,7 @@ void esp_lowputc_enable_sysclk(const struct esp_uart_s *priv) * ****************************************************************************/ -void esp_lowputc_disable_all_uart_int(const struct esp_uart_s *priv, +void esp_lowputc_disable_all_uart_int(struct esp_uart_s *priv, uint32_t *current_status) { irqstate_t flags; diff --git a/arch/risc-v/src/common/espressif/esp_lowputc.h b/arch/risc-v/src/common/espressif/esp_lowputc.h index a0f9cf215b624..f3cd24b2288ad 100644 --- a/arch/risc-v/src/common/espressif/esp_lowputc.h +++ b/arch/risc-v/src/common/espressif/esp_lowputc.h @@ -129,7 +129,7 @@ void esp_lowputc_enable_sysclk(const struct esp_uart_s *priv); * ****************************************************************************/ -void esp_lowputc_disable_all_uart_int(const struct esp_uart_s *priv, +void esp_lowputc_disable_all_uart_int(struct esp_uart_s *priv, uint32_t *current_status); /****************************************************************************