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

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


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

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

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

---

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

diff --git a/c/src/lib/libbsp/arm/csb336/console/uart.c b/c/src/lib/libbsp/arm/csb336/console/uart.c
index 9ac0b7a..1f3a4a1 100644
--- a/c/src/lib/libbsp/arm/csb336/console/uart.c
+++ b/c/src/lib/libbsp/arm/csb336/console/uart.c
@@ -18,6 +18,7 @@
 #include <rtems/irq.h>
 #include <bsp/irq.h>
 #include <mc9328mxl.h>
+#include <rtems/console.h>
 
 /* Define this to use interrupt driver UART driver */
 #define USE_INTERRUPTS 1
diff --git a/c/src/lib/libbsp/arm/csb336/include/bsp.h b/c/src/lib/libbsp/arm/csb336/include/bsp.h
index 3f18953..407f039 100644
--- a/c/src/lib/libbsp/arm/csb336/include/bsp.h
+++ b/c/src/lib/libbsp/arm/csb336/include/bsp.h
@@ -24,7 +24,6 @@
 
 #include <rtems.h>
 #include <rtems/iosupp.h>
-#include <rtems/console.h>
 #include <mc9328mxl.h>
 
 #ifdef __cplusplus




More information about the vc mailing list