[PATCH 1/4] apbuart_termios: use bsp/irq.h

Daniel Hellstrom daniel at gaisler.com
Mon Feb 8 19:44:12 UTC 2021


From: Martin Aberg <maberg at gaisler.com>

The real dependency in this case is on rtems/irq-extension.h. The theme in
other other console drivers is to get it via bsp/irq.h, so that pattern is
followed.
---
 bsps/shared/grlib/uart/apbuart_termios.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/bsps/shared/grlib/uart/apbuart_termios.c b/bsps/shared/grlib/uart/apbuart_termios.c
index 81df89c..997b14c 100644
--- a/bsps/shared/grlib/uart/apbuart_termios.c
+++ b/bsps/shared/grlib/uart/apbuart_termios.c
@@ -14,6 +14,7 @@
 #include <grlib/apbuart_termios.h>
 #include <grlib/apbuart.h>
 #include <bsp.h>
+#include <bsp/irq.h>
 
 static void apbuart_isr(void *arg)
 {
-- 
2.7.4



More information about the devel mailing list