summaryrefslogtreecommitdiff
path: root/chip/stm32/usart_rx_interrupt-stm32l.c
diff options
context:
space:
mode:
Diffstat (limited to 'chip/stm32/usart_rx_interrupt-stm32l.c')
-rw-r--r--chip/stm32/usart_rx_interrupt-stm32l.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/chip/stm32/usart_rx_interrupt-stm32l.c b/chip/stm32/usart_rx_interrupt-stm32l.c
index a89d474d05..750809307b 100644
--- a/chip/stm32/usart_rx_interrupt-stm32l.c
+++ b/chip/stm32/usart_rx_interrupt-stm32l.c
@@ -1,4 +1,4 @@
-/* Copyright 2015 The Chromium OS Authors. All rights reserved.
+/* Copyright 2015 The ChromiumOS Authors
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
@@ -22,8 +22,8 @@ static void usart_rx_init(struct usart_config const *config)
static void usart_rx_interrupt_handler(struct usart_config const *config)
{
- intptr_t base = config->hw->base;
- int32_t status = STM32_USART_SR(base);
+ intptr_t base = config->hw->base;
+ int32_t status = STM32_USART_SR(base);
/*
* We have to check and clear the overrun error flag on STM32L because