summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chip/stm32/clock-f.c2
-rw-r--r--chip/stm32/clock-stm32l4.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/chip/stm32/clock-f.c b/chip/stm32/clock-f.c
index 0be765476d..1a77d8ad60 100644
--- a/chip/stm32/clock-f.c
+++ b/chip/stm32/clock-f.c
@@ -321,7 +321,7 @@ static void set_rtc_host_event(void)
DECLARE_DEFERRED(set_rtc_host_event);
#endif
-test_mockable_static
+test_mockable
void __rtc_alarm_irq(void)
{
struct rtc_time_reg rtc;
diff --git a/chip/stm32/clock-stm32l4.c b/chip/stm32/clock-stm32l4.c
index a7097c0382..2094751aab 100644
--- a/chip/stm32/clock-stm32l4.c
+++ b/chip/stm32/clock-stm32l4.c
@@ -948,7 +948,7 @@ static void set_rtc_host_event(void)
DECLARE_DEFERRED(set_rtc_host_event);
#endif
-test_mockable_static
+test_mockable
void __rtc_alarm_irq(void)
{
struct rtc_time_reg rtc;