[rtems commit] arm/atsam: 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:    ad76eb325565332dde7ff2c51cc41fb64c1dd3f3
Changeset: http://git.rtems.org/rtems/commit/?id=ad76eb325565332dde7ff2c51cc41fb64c1dd3f3

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

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

---

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

diff --git a/c/src/lib/libbsp/arm/atsam/console/console.c b/c/src/lib/libbsp/arm/atsam/console/console.c
index 8ab8526..ef75e8c 100644
--- a/c/src/lib/libbsp/arm/atsam/console/console.c
+++ b/c/src/lib/libbsp/arm/atsam/console/console.c
@@ -15,6 +15,7 @@
 #include <bsp.h>
 #include <bsp/irq.h>
 #include <bsp/fatal.h>
+#include <rtems/console.h>
 
 #include <rtems/termiostypes.h>
 
diff --git a/c/src/lib/libbsp/arm/atsam/include/bsp.h b/c/src/lib/libbsp/arm/atsam/include/bsp.h
index ef6c3ce..38a1cb7 100644
--- a/c/src/lib/libbsp/arm/atsam/include/bsp.h
+++ b/c/src/lib/libbsp/arm/atsam/include/bsp.h
@@ -19,7 +19,6 @@
 #include <bsp/default-initial-extension.h>
 
 #include <rtems.h>
-#include <rtems/console.h>
 
 #ifdef __cplusplus
 extern "C" {




More information about the vc mailing list