[rtems commit] powerpc/gen5200: 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:    93ba1d550c8ddaec7ad5f472cdcddeb66a3ad229
Changeset: http://git.rtems.org/rtems/commit/?id=93ba1d550c8ddaec7ad5f472cdcddeb66a3ad229

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

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

---

 c/src/lib/libbsp/powerpc/gen5200/console/console.c | 3 ++-
 c/src/lib/libbsp/powerpc/gen5200/include/bsp.h     | 1 -
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/c/src/lib/libbsp/powerpc/gen5200/console/console.c b/c/src/lib/libbsp/powerpc/gen5200/console/console.c
index 0ccb52f..26f5558 100644
--- a/c/src/lib/libbsp/powerpc/gen5200/console/console.c
+++ b/c/src/lib/libbsp/powerpc/gen5200/console/console.c
@@ -96,15 +96,16 @@
 /***********************************************************************/
 
 #include <assert.h>
+#include <string.h>
 
 #include <rtems.h>
 #include "../include/mpc5200.h"
 #include <bsp.h>
 #include <bsp/irq.h>
 
+#include <rtems/console.h>
 #include <rtems/bspIo.h>
 #include <rtems/libio.h>
-#include <string.h>
 #include <rtems/termiostypes.h>
 
 
diff --git a/c/src/lib/libbsp/powerpc/gen5200/include/bsp.h b/c/src/lib/libbsp/powerpc/gen5200/include/bsp.h
index 6bb2241..0d3c6fe 100644
--- a/c/src/lib/libbsp/powerpc/gen5200/include/bsp.h
+++ b/c/src/lib/libbsp/powerpc/gen5200/include/bsp.h
@@ -142,7 +142,6 @@ LINKER_SYMBOL(MBAR);
 #ifndef ASM
 
 #include <rtems.h>
-#include <rtems/console.h>
 #include <rtems/rtc.h>
 #include <i2cdrv.h>
 #include <bsp/irq.h>




More information about the vc mailing list