[rtems commit] m68k/mcf5225x: Fix warnings
Joel Sherrill
joel at rtems.org
Tue Oct 21 14:36:31 UTC 2014
Module: rtems
Branch: master
Commit: 1382752458f27041941778ea83d9a53530fe01b4
Changeset: http://git.rtems.org/rtems/commit/?id=1382752458f27041941778ea83d9a53530fe01b4
Author: Joel Sherrill <joel.sherrill at oarcorp.com>
Date: Mon Oct 20 10:58:21 2014 -0500
m68k/mcf5225x: Fix warnings
---
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(+), 0 deletions(-)
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);
More information about the vc
mailing list