[PATCH 04/34] lm32/milkymist/startup/bspclean.c: Include <bsp.h> to fix warning

Joel Sherrill joel.sherrill at oarcorp.com
Mon Oct 20 20:34:06 UTC 2014


---
 c/src/lib/libbsp/lm32/milkymist/startup/bspclean.c | 9 ++++++---
 1 file 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 */
-- 
1.9.3




More information about the devel mailing list