From: Martin Aberg <mab...@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

_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to