diff options
author | Tom Hughes <tomhughes@chromium.org> | 2021-09-20 22:37:06 +0000 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-09-29 01:46:50 +0000 |
commit | b748354c51299aac2e3d6a339e3efd61853eefaa (patch) | |
tree | b8db520eeb078f6867b7f064add3ad05164cabc3 /board/stm32l476g-eval | |
parent | f8d5372e7bda67b6c38ca6fdfaac9a898a7322d8 (diff) | |
download | chrome-ec-b748354c51299aac2e3d6a339e3efd61853eefaa.tar.gz |
chip/stm32: Make function definition and declaration match
"test_mockable_static" is static, but the declaration created by
DECLARE_IRQ is not static. The mismatch generates a compiler warning
when building with clang:
chip/stm32/clock-f.c:325:6: error: unused function '__rtc_alarm_irq'
[-Werror,-Wunused-function]
void __rtc_alarm_irq(void)
BRANCH=none
BUG=b:172020503
TEST=make buildall -j
Signed-off-by: Tom Hughes <tomhughes@chromium.org>
Change-Id: I39e2de93b057b5565c54ffb83e1633a13db1ce46
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3172039
Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org>
Diffstat (limited to 'board/stm32l476g-eval')
0 files changed, 0 insertions, 0 deletions