diff options
author | Jeremy Bettis <jbettis@google.com> | 2023-05-01 14:59:23 -0600 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2023-05-03 16:07:12 +0000 |
commit | 0c34277ea06bcb7137d1a959c277c2d0fcd928ea (patch) | |
tree | 7ef3f7825abcc5d3bcc13614864cccd478b7ffa6 /include | |
parent | fb1c14b2ba19565a667ac8abcc97057836bfe7b0 (diff) | |
download | chrome-ec-0c34277ea06bcb7137d1a959c277c2d0fcd928ea.tar.gz |
ec: Add #line in include/usb_pd_dpm_sm.h
Work around coreboot GCC preprocessor bug.
BRANCH=None
BUG=b:272518464
TEST=./twister --coverage
Change-Id: I3325b2c4579607373765ebb5f992e7fd51d3440d
Signed-off-by: Jeremy Bettis <jbettis@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4497210
Commit-Queue: Al Semjonovs <asemjonovs@google.com>
Tested-by: Jeremy Bettis <jbettis@chromium.org>
Reviewed-by: Al Semjonovs <asemjonovs@google.com>
Auto-Submit: Jeremy Bettis <jbettis@chromium.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/usb_pd_dpm_sm.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/usb_pd_dpm_sm.h b/include/usb_pd_dpm_sm.h index 5b463c9197..cb275d65e6 100644 --- a/include/usb_pd_dpm_sm.h +++ b/include/usb_pd_dpm_sm.h @@ -8,6 +8,12 @@ * Refer to USB PD 3.0 spec, version 2.0, sections 8.2 and 8.3 */ +/* + * TODO(b/272518464): Work around coreboot GCC preprocessor bug. + * #line marks the *next* line, so it is off by one. + */ +#line 16 + #ifndef __CROS_EC_USB_DPM_H #define __CROS_EC_USB_DPM_H |