summaryrefslogtreecommitdiff
path: root/util/comm-lpc.cc
diff options
context:
space:
mode:
authorTom Hughes <tomhughes@chromium.org>2023-03-14 11:02:39 -0700
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2023-03-16 01:01:01 +0000
commit7a9f47487c41d15b3f8aeb4372afc36fc0dfceae (patch)
tree11379a82a539f3308fe664a10b47b92d51d649b1 /util/comm-lpc.cc
parentd826a966469853fc37d9b844b00c7ad680deaad9 (diff)
downloadchrome-ec-7a9f47487c41d15b3f8aeb4372afc36fc0dfceae.tar.gz
tree: Run clang-format on C++ files
BRANCH=none BUG=none TEST=CQ passes Change-Id: I4e359ebbfacfa10239e991ee89da82db5161ef20 Signed-off-by: Tom Hughes <tomhughes@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4338476 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
Diffstat (limited to 'util/comm-lpc.cc')
-rw-r--r--util/comm-lpc.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/util/comm-lpc.cc b/util/comm-lpc.cc
index 8e2042f0cc..a7d22d9a21 100644
--- a/util/comm-lpc.cc
+++ b/util/comm-lpc.cc
@@ -6,14 +6,15 @@
/* The I/O asm funcs exist only on x86. */
#if defined(__i386__) || defined(__x86_64__)
+#include "comm-host.h"
+
#include <stdint.h>
#include <stdio.h>
+
#include <sys/io.h>
#include <sys/param.h>
#include <unistd.h>
-#include "comm-host.h"
-
#define INITIAL_UDELAY 5 /* 5 us */
#define MAXIMUM_UDELAY 10000 /* 10 ms */