[rtems commit] bfin/bf537Stamp: 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:    50ea7252af74cf20abc083f178041814171e98bb
Changeset: http://git.rtems.org/rtems/commit/?id=50ea7252af74cf20abc083f178041814171e98bb

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

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

---

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

diff --git a/c/src/lib/libbsp/bfin/bf537Stamp/console/console.c b/c/src/lib/libbsp/bfin/bf537Stamp/console/console.c
index 68d32ce..5b7b795 100644
--- a/c/src/lib/libbsp/bfin/bf537Stamp/console/console.c
+++ b/c/src/lib/libbsp/bfin/bf537Stamp/console/console.c
@@ -15,6 +15,7 @@
 #include <rtems/libio.h>
 #include <bsp.h>
 #include <rtems/bspIo.h>
+#include <rtems/console.h>
 
 #include <libcpu/bf537.h>
 #include <libcpu/interrupt.h>
diff --git a/c/src/lib/libbsp/bfin/bf537Stamp/include/bsp.h b/c/src/lib/libbsp/bfin/bf537Stamp/include/bsp.h
index 2a30da2..8b14be1 100644
--- a/c/src/lib/libbsp/bfin/bf537Stamp/include/bsp.h
+++ b/c/src/lib/libbsp/bfin/bf537Stamp/include/bsp.h
@@ -21,7 +21,6 @@
 #include <bsp/default-initial-extension.h>
 
 #include <rtems.h>
-#include <rtems/console.h>
 
 #include <libcpu/bf537.h>
 #include <libcpu/memoryRegs.h>




More information about the vc mailing list