[rtems commit] powerpc/shared/startup/bspstart.c: Fix warning for mvme2100

Joel Sherrill joel at rtems.org
Tue Oct 21 14:36:32 UTC 2014


Module:    rtems
Branch:    master
Commit:    7294054b3072d00808d807b6657ff6db12afd5fe
Changeset: http://git.rtems.org/rtems/commit/?id=7294054b3072d00808d807b6657ff6db12afd5fe

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Mon Oct 20 14:13:47 2014 -0500

powerpc/shared/startup/bspstart.c: Fix warning for mvme2100

---

 c/src/lib/libbsp/powerpc/shared/startup/bspstart.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/c/src/lib/libbsp/powerpc/shared/startup/bspstart.c b/c/src/lib/libbsp/powerpc/shared/startup/bspstart.c
index 1d5d5d5..08dc12b 100644
--- a/c/src/lib/libbsp/powerpc/shared/startup/bspstart.c
+++ b/c/src/lib/libbsp/powerpc/shared/startup/bspstart.c
@@ -123,7 +123,7 @@ unsigned int EUMBBAR;
  * Register (EUMBBAR) as read from the processor configuration register using
  * Processor Address Map B (CHRP).
  */
-unsigned int get_eumbbar(void) {
+static unsigned int get_eumbbar(void) {
   out_le32( (volatile unsigned *)0xfec00000, 0x80000078 );
   return in_le32( (volatile unsigned *)0xfee00000 );
 }



More information about the vc mailing list