[PATCH 29/34] powerpc/shared/startup/bspstart.c: Fix warning for mvme2100
Joel Sherrill
joel.sherrill at oarcorp.com
Mon Oct 20 20:34:31 UTC 2014
---
c/src/lib/libbsp/powerpc/shared/startup/bspstart.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 );
}
--
1.9.3
More information about the devel
mailing list