diff --git a/drivers/serial/uart_sedi.c b/drivers/serial/uart_sedi.c index 1bee633b36c..d0ef1e0285a 100644 --- a/drivers/serial/uart_sedi.c +++ b/drivers/serial/uart_sedi.c @@ -123,6 +123,7 @@ struct uart_sedi_drv_data { uint8_t busy_count; }; +#ifndef CONFIG_PM_DEVICE_RUNTIME #ifdef CONFIG_UART_INTERRUPT_DRIVEN static void uart_busy_set(const struct device *dev) { @@ -148,6 +149,7 @@ static void uart_busy_clear(const struct device *dev) } } #endif +#endif #ifdef CONFIG_PM_DEVICE