summaryrefslogtreecommitdiff
path: root/board/yorp
diff options
context:
space:
mode:
authorJett Rink <jettrink@chromium.org>2018-05-03 09:41:17 -0600
committerchrome-bot <chrome-bot@chromium.org>2018-05-04 03:01:57 -0700
commit5df15c0b254bfa7b96c3c0db2a82ff5c9d8c0d75 (patch)
treefc6c5c371bd59ffb0fd73146424140b462f11e21 /board/yorp
parent97bf820d2d3102a53f9ae8f4fea3f5c4709028d6 (diff)
downloadchrome-ec-5df15c0b254bfa7b96c3c0db2a82ff5c9d8c0d75.tar.gz
stm: inline raw_read8 in header file
Rename raw_read8 to st_raw_read8 and statically inline in the header file. Removing the extern removes linker warnings when including this header file without the driver, which happens in baseboard files. BRANCH=none BUG=none TEST=including "driver/accelgyro_lsm6dsm.h" in c files that do not link the actual driver will now compile. Change-Id: I43f799a3b05b2343e012d43bdc9459d138ecf1b5 Signed-off-by: Jett Rink <jettrink@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1042727 Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'board/yorp')
0 files changed, 0 insertions, 0 deletions