Skip to content

Commit 014581f

Browse files
jeremybettisChromeos LUCI
authored andcommitted
CHROMIUM: Add #line to tach_nuvoton_npcx.c
Work around coreboot GCC preprocessor bug. BUG=b:272518464 TEST=BOARD=brya ; zmake build -c $BOARD && ./util/find_non_exec_lines.py build/zephyr/$BOARD/output/zephyr.info Change-Id: Ibd7de22c840cbbf9e24c6aeb1ebbbb6574655832 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/5782398 Commit-Queue: Jeremy Bettis <[email protected]> Tested-by: Jeremy Bettis <[email protected]> Reviewed-by: Tristan Honscheid <[email protected]> Commit-Queue: Tristan Honscheid <[email protected]> Auto-Submit: Jeremy Bettis <[email protected]>
1 parent e54b72a commit 014581f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

drivers/sensor/nuvoton/nuvoton_tach_npcx/tach_nuvoton_npcx.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44
* SPDX-License-Identifier: Apache-2.0
55
*/
66

7+
/*
8+
* TODO(b/272518464): Work around coreboot GCC preprocessor bug.
9+
* #line marks the *next* line, so it is off by one.
10+
*/
11+
#line 12
12+
713
#define DT_DRV_COMPAT nuvoton_npcx_tach
814

915
/**

0 commit comments

Comments
 (0)