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

Daniel Cederman cederman at gaisler.com
Thu Jul 14 07:59:59 UTC 2022


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 9014a1c735..ad5f64defa 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.34.1



More information about the devel mailing list