From b4a0dd1d4c5d485095e188d9b4c3a2ae882a98ef Mon Sep 17 00:00:00 2001 From: Jeremy Bettis Date: Mon, 19 Aug 2024 16:36:17 +0000 Subject: [PATCH] CHROMIUM: Add #line to i2c.h Work around coreboot GCC preprocessor bug. BUG=b:272518464 TEST=BOARD=lotso ; zmake build -c $BOARD && ./util/find_non_exec_lines.py build/zephyr/$BOARD/output/zephyr.info Change-Id: I5b108fcd922b4e81326c741728b62144425754ac Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/5796764 Reviewed-by: Abe Levkoy Commit-Queue: Jeremy Bettis Commit-Queue: ChromeOS Auto Runner Tested-by: Jeremy Bettis --- include/zephyr/drivers/i2c.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/zephyr/drivers/i2c.h b/include/zephyr/drivers/i2c.h index 1f9e12153fb..752a217aa8b 100644 --- a/include/zephyr/drivers/i2c.h +++ b/include/zephyr/drivers/i2c.h @@ -35,6 +35,8 @@ #include #include +#line 39 + #ifdef __cplusplus extern "C" { #endif