[rtems commit] bsp/mpc55xxevb: Fix warnings
Sebastian Huber
sebh at rtems.org
Fri Oct 10 07:41:03 UTC 2014
Module: rtems
Branch: master
Commit: a9fd601c9ecd48e484c96e7efe68299097d9cb8f
Changeset: http://git.rtems.org/rtems/commit/?id=a9fd601c9ecd48e484c96e7efe68299097d9cb8f
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Fri Oct 10 09:49:59 2014 +0200
bsp/mpc55xxevb: Fix warnings
---
.../powerpc/mpc55xxevb/console/console-linflex.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/c/src/lib/libbsp/powerpc/mpc55xxevb/console/console-linflex.c b/c/src/lib/libbsp/powerpc/mpc55xxevb/console/console-linflex.c
index a437482..9aed2a6 100644
--- a/c/src/lib/libbsp/powerpc/mpc55xxevb/console/console-linflex.c
+++ b/c/src/lib/libbsp/powerpc/mpc55xxevb/console/console-linflex.c
@@ -5,10 +5,10 @@
*/
/*
- * Copyright (c) 2011 embedded brains GmbH. All rights reserved.
+ * Copyright (c) 2011-2014 embedded brains GmbH. All rights reserved.
*
* embedded brains GmbH
- * Obere Lagerstr. 30
+ * Dornierstr. 4
* 82178 Puchheim
* Germany
* <rtems at embedded-brains.de>
@@ -50,7 +50,7 @@ mpc55xx_linflex_context mpc55xx_linflex_devices [] = {
}
};
-void enter_init_mode(volatile LINFLEX_tag *regs)
+static void enter_init_mode(volatile LINFLEX_tag *regs)
{
LINFLEX_LINCR1_32B_tag cr1 = { .R = regs->LINCR1.R };
cr1.B.SLEEP = 0;
@@ -58,7 +58,7 @@ void enter_init_mode(volatile LINFLEX_tag *regs)
regs->LINCR1.R = cr1.R;
}
-void enter_active_mode(volatile LINFLEX_tag *regs)
+static void enter_active_mode(volatile LINFLEX_tag *regs)
{
LINFLEX_LINCR1_32B_tag cr1 = { .R = regs->LINCR1.R };
cr1.B.SLEEP = 0;
@@ -66,7 +66,7 @@ void enter_active_mode(volatile LINFLEX_tag *regs)
regs->LINCR1.R = cr1.R;
}
-void enter_sleep_mode(volatile LINFLEX_tag *regs)
+static void enter_sleep_mode(volatile LINFLEX_tag *regs)
{
LINFLEX_LINCR1_32B_tag cr1 = { .R = regs->LINCR1.R };
cr1.B.SLEEP = 1;
More information about the vc
mailing list