summaryrefslogtreecommitdiff
path: root/board/stm32l476g-eval/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/stm32l476g-eval/board.c')
-rw-r--r--board/stm32l476g-eval/board.c16
1 files changed, 7 insertions, 9 deletions
diff --git a/board/stm32l476g-eval/board.c b/board/stm32l476g-eval/board.c
index 70375abe95..e3f467ac50 100644
--- a/board/stm32l476g-eval/board.c
+++ b/board/stm32l476g-eval/board.c
@@ -1,4 +1,4 @@
-/* Copyright 2016 The Chromium OS Authors. All rights reserved.
+/* Copyright 2016 The ChromiumOS Authors
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
@@ -32,14 +32,12 @@ void tick_event(void)
DECLARE_HOOK(HOOK_TICK, tick_event, HOOK_PRIO_DEFAULT);
#ifdef CTS_MODULE_I2C
-const struct i2c_port_t i2c_ports[] = {
- {
- .name = "test",
- .port = STM32_I2C2_PORT,
- .kbps = 100,
- .scl = GPIO_I2C2_SCL,
- .sda = GPIO_I2C2_SDA
- },
+const struct i2c_port_t i2c_ports[] = {
+ { .name = "test",
+ .port = STM32_I2C2_PORT,
+ .kbps = 100,
+ .scl = GPIO_I2C2_SCL,
+ .sda = GPIO_I2C2_SDA },
};
const unsigned int i2c_ports_used = ARRAY_SIZE(i2c_ports);
#endif