summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-10-10 09:49:59 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-10-10 09:49:59 +0200
commita9fd601c9ecd48e484c96e7efe68299097d9cb8f (patch)
treef245f2d8a8d8135a1d159b995fbee3b65c8f6ad7
parentbsp/gen5200: Fix warnings (diff)
downloadrtems-a9fd601c9ecd48e484c96e7efe68299097d9cb8f.tar.bz2
bsp/mpc55xxevb: Fix warnings
-rw-r--r--c/src/lib/libbsp/powerpc/mpc55xxevb/console/console-linflex.c10
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 a4374820d2..9aed2a639c 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@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;