diff options
Diffstat (limited to 'chip/stm32/uart.c')
-rw-r--r-- | chip/stm32/uart.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/chip/stm32/uart.c b/chip/stm32/uart.c index 77e0ba2668..2cd661d9e4 100644 --- a/chip/stm32/uart.c +++ b/chip/stm32/uart.c @@ -112,7 +112,7 @@ static void uart_interrupt(void) } DECLARE_IRQ(STM32_IRQ_USART(UARTN), uart_interrupt, 2); -int uart_init(void) +void uart_init(void) { /* Enable USART clock */ if (UARTN == 1) @@ -146,6 +146,4 @@ int uart_init(void) task_enable_irq(STM32_IRQ_USART(UARTN)); init_done = 1; - - return EC_SUCCESS; } |