summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim Bendebury <vbendeb@chromium.org>2020-03-18 13:16:01 -0700
committerCommit Bot <commit-bot@chromium.org>2020-03-19 04:38:05 +0000
commite9d97ff129e049b9a8b809a65a1fbba8b74b5e9c (patch)
tree8c7d7b9bd88af202e46c131ba0fa944b4b582de8
parent124b2a8654b1bca281277b581fb79daeb1bdadde (diff)
downloadchrome-ec-e9d97ff129e049b9a8b809a65a1fbba8b74b5e9c.tar.gz
uart.h: fix compilation inclusion guard placement
A recent change added a declaration after the compilation inclusion guard '#endif', this is a mistake, let's fix it. BRANCH=none BUG=none TEST=make buildall -j Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Change-Id: I9744b4ffddda3119dda9424e69537338a8c16a41 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2109313 Reviewed-by: Nicolas Boichat <drinkcat@chromium.org> Commit-Queue: Nicolas Boichat <drinkcat@chromium.org>
-rw-r--r--include/uart.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/uart.h b/include/uart.h
index 502757cdf2..b6dce4f21f 100644
--- a/include/uart.h
+++ b/include/uart.h
@@ -361,9 +361,9 @@ int uart_console_read_buffer(uint8_t type,
uint16_t dest_size,
uint16_t *write_count);
-#endif /* __CROS_EC_UART_H */
-
/**
* Initialize tx buffer head and tail
*/
void uart_init_buffer(void);
+
+#endif /* __CROS_EC_UART_H */