summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Bettis <jbettis@google.com>2023-05-09 22:52:55 +0000
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2023-05-10 00:36:00 +0000
commite95816c0b9a85f24fa2c8c55adc69a494854fa59 (patch)
treeefffe1712dfc37c4536f7c1d41daad87292d730c
parent7f381db1790b9593d6ae46c163e8df53ba1eb03f (diff)
downloadchrome-ec-e95816c0b9a85f24fa2c8c55adc69a494854fa59.tar.gz
ec: Add #line in include/usb_pd.h
Work around coreboot GCC preprocessor bug. BUG=b:272518464 FILE=gcc -E Change-Id: Ib5bf494bf8f7ab1346867014ce0a0bfca5ee6538 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4519642 Commit-Queue: Jeremy Bettis <jbettis@chromium.org> Tested-by: Jeremy Bettis <jbettis@chromium.org> Auto-Submit: Jeremy Bettis <jbettis@chromium.org> Commit-Queue: Simon Glass <sjg@chromium.org> Reviewed-by: Simon Glass <sjg@chromium.org>
-rw-r--r--include/usb_pd.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/usb_pd.h b/include/usb_pd.h
index e85c5cc80a..b5981abc46 100644
--- a/include/usb_pd.h
+++ b/include/usb_pd.h
@@ -5,6 +5,12 @@
/* USB Power delivery module */
+/*
+ * TODO(b/272518464): Work around coreboot GCC preprocessor bug.
+ * #line marks the *next* line, so it is off by one.
+ */
+#line 13
+
#ifndef __CROS_EC_USB_PD_H
#define __CROS_EC_USB_PD_H