summaryrefslogtreecommitdiffstats
path: root/c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2014-10-20 14:13:47 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2014-10-20 14:13:47 -0500
commit7294054b3072d00808d807b6657ff6db12afd5fe (patch)
treefd1e665134be9d566189c14fd43545b5ae8ef1ef /c
parentnios2/nios2_iss: Fix warnings (diff)
downloadrtems-7294054b3072d00808d807b6657ff6db12afd5fe.tar.bz2
powerpc/shared/startup/bspstart.c: Fix warning for mvme2100
Diffstat (limited to 'c')
-rw-r--r--c/src/lib/libbsp/powerpc/shared/startup/bspstart.c2
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 1d5d5d56f2..08dc12b225 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 );
}