[rtems commit] sparc/leon3: Remove include of <rtems/console.h> from < bsp.h> and fix warnings

Joel Sherrill joel at rtems.org
Tue Mar 29 20:29:11 UTC 2016


Module:    rtems
Branch:    master
Commit:    adb4fa4eb5b40f6771528b2c42842b67f680eec6
Changeset: http://git.rtems.org/rtems/commit/?id=adb4fa4eb5b40f6771528b2c42842b67f680eec6

Author:    Joel Sherrill <joel at rtems.org>
Date:      Tue Mar 29 13:10:53 2016 -0500

sparc/leon3: Remove include of <rtems/console.h> from <bsp.h> and fix warnings

---

 c/src/lib/libbsp/sparc/leon3/console/console.c | 1 +
 c/src/lib/libbsp/sparc/leon3/include/bsp.h     | 1 -
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/c/src/lib/libbsp/sparc/leon3/console/console.c b/c/src/lib/libbsp/sparc/leon3/console/console.c
index 4713491..eba0013 100644
--- a/c/src/lib/libbsp/sparc/leon3/console/console.c
+++ b/c/src/lib/libbsp/sparc/leon3/console/console.c
@@ -29,6 +29,7 @@
 #include <bsp.h>
 #include <bsp/fatal.h>
 #include <bsp/apbuart_termios.h>
+#include <rtems/console.h>
 
 /* The LEON3 BSP UART driver can rely on the Driver Manager if the
  * DrvMgr is initialized during startup. Otherwise the classic driver
diff --git a/c/src/lib/libbsp/sparc/leon3/include/bsp.h b/c/src/lib/libbsp/sparc/leon3/include/bsp.h
index 010162f..ef597cb 100644
--- a/c/src/lib/libbsp/sparc/leon3/include/bsp.h
+++ b/c/src/lib/libbsp/sparc/leon3/include/bsp.h
@@ -33,7 +33,6 @@
 
 #include <rtems.h>
 #include <leon.h>
-#include <rtems/console.h>
 #include <rtems/irq-extension.h>
 
 #ifdef __cplusplus




More information about the vc mailing list