[rtems commit] lm32/milkymist/startup/bspclean.c: Include <bsp.h> to fix warning
Joel Sherrill
joel at rtems.org
Tue Oct 21 14:36:31 UTC 2014
Module: rtems
Branch: master
Commit: 8566e1fce584c684085355c07a59416d5949ae51
Changeset: http://git.rtems.org/rtems/commit/?id=8566e1fce584c684085355c07a59416d5949ae51
Author: Joel Sherrill <joel.sherrill at oarcorp.com>
Date: Sun Oct 19 21:14:23 2014 -0500
lm32/milkymist/startup/bspclean.c: Include <bsp.h> to fix warning
---
c/src/lib/libbsp/lm32/milkymist/startup/bspclean.c | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/c/src/lib/libbsp/lm32/milkymist/startup/bspclean.c b/c/src/lib/libbsp/lm32/milkymist/startup/bspclean.c
index 4041b77..d4ff09b 100644
--- a/c/src/lib/libbsp/lm32/milkymist/startup/bspclean.c
+++ b/c/src/lib/libbsp/lm32/milkymist/startup/bspclean.c
@@ -1,7 +1,8 @@
-/* bspclean.c
- *
+/*
* Milkymist shutdown routine
- *
+ */
+
+/*
* COPYRIGHT (c) 2010 Sebastien Bourdeauducq
*
* The license and distribution terms for this file may be
@@ -9,6 +10,7 @@
* http://www.rtems.org/license/LICENSE.
*/
+#include <bsp.h>
#include <bsp/bootcard.h>
#include "../include/system_conf.h"
@@ -25,6 +27,7 @@ static void icap_write(int val, unsigned int w)
w |= ICAP_CE|ICAP_WRITE;
MM_WRITE(MM_ICAP, w);
}
+
static void reconf(void)
{
icap_write(0, 0xffff); /* dummy word */
More information about the vc
mailing list