[rtems commit] m68k/mcf5206elite: 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:    30ef900a21faadfed7597d2a9d5a93b57b2e5707
Changeset: http://git.rtems.org/rtems/commit/?id=30ef900a21faadfed7597d2a9d5a93b57b2e5707

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

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

---

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

diff --git a/c/src/lib/libbsp/m68k/mcf5206elite/console/console.c b/c/src/lib/libbsp/m68k/mcf5206elite/console/console.c
index 40df1a5..bbf343d 100644
--- a/c/src/lib/libbsp/m68k/mcf5206elite/console/console.c
+++ b/c/src/lib/libbsp/m68k/mcf5206elite/console/console.c
@@ -17,6 +17,7 @@
 #include <termios.h>
 #include <bsp.h>
 #include <rtems/libio.h>
+#include <rtems/console.h>
 #include "mcf5206/mcf5206e.h"
 #include "mcf5206/mcfuart.h"
 
diff --git a/c/src/lib/libbsp/m68k/mcf5206elite/include/bsp.h b/c/src/lib/libbsp/m68k/mcf5206elite/include/bsp.h
index 849894a..e3cbc51 100644
--- a/c/src/lib/libbsp/m68k/mcf5206elite/include/bsp.h
+++ b/c/src/lib/libbsp/m68k/mcf5206elite/include/bsp.h
@@ -119,7 +119,6 @@
 
 #include <bspopts.h>
 #include <rtems.h>
-#include <rtems/console.h>
 #include <rtems/iosupp.h>
 #include <rtems/rtc.h>
 #include <bsp/default-initial-extension.h>



More information about the vc mailing list