Skip to content

Commit

Permalink
CHROMIUM: Add #line to i2c.h
Browse files Browse the repository at this point in the history
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 <alevkoy@chromium.org>
Commit-Queue: Jeremy Bettis <jbettis@chromium.org>
Commit-Queue: ChromeOS Auto Runner <chromeos-auto-runner@chromeos-bot.iam.gserviceaccount.com>
Tested-by: Jeremy Bettis <jbettis@chromium.org>
  • Loading branch information
jeremybettis authored and Chromeos LUCI committed Aug 19, 2024
1 parent 032cf28 commit b4a0dd1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/zephyr/drivers/i2c.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
#include <zephyr/sys/slist.h>
#include <zephyr/rtio/rtio.h>

#line 39

#ifdef __cplusplus
extern "C" {
#endif
Expand Down

0 comments on commit b4a0dd1

Please sign in to comment.