Module: xenomai-2.6
Branch: wip/localinfo
Commit: f4534cc2dee24c3738579c68717ba77fd23dff9d
URL:    
http://git.xenomai.org/?p=xenomai-2.6.git;a=commit;h=f4534cc2dee24c3738579c68717ba77fd23dff9d

Author: Philippe Gerum <r...@xenomai.org>
Date:   Sat Mar 11 14:21:49 2017 +0100

nucleus/clockfreq: silence warning if event unavailable

---

 ksrc/nucleus/module.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ksrc/nucleus/module.c b/ksrc/nucleus/module.c
index 8c2463e..bcf8ac9 100644
--- a/ksrc/nucleus/module.c
+++ b/ksrc/nucleus/module.c
@@ -162,7 +162,7 @@ static inline void do_clockfreq_event(unsigned int newfreq)
        xnarch_init_timeconv(RTHAL_CLOCK_FREQ);
        xnlock_put_irqrestore(&nklock, s);
 }
-RTHAL_DECLARE_CLOCKFREQ_EVENT(clockfreq_event);
+__maybe_unused RTHAL_DECLARE_CLOCKFREQ_EVENT(clockfreq_event);
 
 static inline void init_clockfreq(void)
 {


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
https://xenomai.org/mailman/listinfo/xenomai-git

Reply via email to