diff options
author | Jeremy Bettis <jbettis@google.com> | 2023-05-05 23:21:16 +0000 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2023-05-06 16:46:51 +0000 |
commit | 16d788c61bd3ee6899ea25a48a7f7cfbc7bcdb36 (patch) | |
tree | 25f06e80f5290c06007e15f2666d37feb251a772 | |
parent | 9ead57f955c54f736aae38abe64413620ed711ef (diff) | |
download | chrome-ec-16d788c61bd3ee6899ea25a48a7f7cfbc7bcdb36.tar.gz |
ec: Add #line in common/usbc/usb_pd_dpm.c
Work around coreboot GCC preprocessor bug.
BRANCH=None
BUG=b:272518464
TEST=gcc -E
Change-Id: I90d096f6f3bd30b0d961d3d1d6e802eded076ecd
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4510537
Commit-Queue: Tristan Honscheid <honscheid@google.com>
Reviewed-by: Tristan Honscheid <honscheid@google.com>
Auto-Submit: Jeremy Bettis <jbettis@chromium.org>
Tested-by: Jeremy Bettis <jbettis@chromium.org>
-rw-r--r-- | common/usbc/usb_pd_dpm.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/common/usbc/usb_pd_dpm.c b/common/usbc/usb_pd_dpm.c index 0324132ac2..022d81109b 100644 --- a/common/usbc/usb_pd_dpm.c +++ b/common/usbc/usb_pd_dpm.c @@ -35,6 +35,12 @@ #include "usb_tbt_alt_mode.h" #include "usb_tc_sm.h" +/* + * TODO(b/272518464): Work around coreboot GCC preprocessor bug. + * #line marks the *next* line, so it is off by one. + */ +#line 43 + #ifdef CONFIG_ZEPHYR #include "temp_sensor/temp_sensor.h" #endif |