[PATCH 19/34] m68k/mcf5225x: Fix warnings
Joel Sherrill
joel.sherrill at oarcorp.com
Mon Oct 20 20:34:21 UTC 2014
---
c/src/lib/libbsp/m68k/mcf5225x/include/bsp.h | 5 +++++
c/src/lib/libbsp/m68k/mcf5225x/startup/init5225x.c | 1 +
2 files changed, 6 insertions(+)
diff --git a/c/src/lib/libbsp/m68k/mcf5225x/include/bsp.h b/c/src/lib/libbsp/m68k/mcf5225x/include/bsp.h
index 5ee6fe3..e5701ed 100644
--- a/c/src/lib/libbsp/m68k/mcf5225x/include/bsp.h
+++ b/c/src/lib/libbsp/m68k/mcf5225x/include/bsp.h
@@ -82,6 +82,11 @@ rtems_isr_entry set_vector(
#define UART2_IRQ_LEVEL 3
#define UART2_IRQ_PRIORITY 5
+/*
+ * Prototypes for BSP methods which cross file boundaries
+ */
+void Init5225x(void);
+
#ifdef __cplusplus
}
#endif
diff --git a/c/src/lib/libbsp/m68k/mcf5225x/startup/init5225x.c b/c/src/lib/libbsp/m68k/mcf5225x/startup/init5225x.c
index c5bd9fd..caf7db1 100644
--- a/c/src/lib/libbsp/m68k/mcf5225x/startup/init5225x.c
+++ b/c/src/lib/libbsp/m68k/mcf5225x/startup/init5225x.c
@@ -8,6 +8,7 @@
* functions can be called from here.
*/
+#include <bsp.h>
#include <bsp/bootcard.h>
extern void _wr_vbr(uint32_t);
--
1.9.3
More information about the devel
mailing list