[PATCH 51/52] gen5200/startup/cpuinit.c: Warning for function which should have been void

Joel Sherrill joel.sherrill at oarcorp.com
Wed Oct 8 19:16:42 UTC 2014


---
 c/src/lib/libbsp/powerpc/gen5200/startup/cpuinit.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/c/src/lib/libbsp/powerpc/gen5200/startup/cpuinit.c b/c/src/lib/libbsp/powerpc/gen5200/startup/cpuinit.c
index a3df0be..77787c4 100644
--- a/c/src/lib/libbsp/powerpc/gen5200/startup/cpuinit.c
+++ b/c/src/lib/libbsp/powerpc/gen5200/startup/cpuinit.c
@@ -112,7 +112,7 @@ static void calc_dbat_regvals(
   bat_ptr->batl.pp   = flg_bpp;
 }
 
-static inline enable_bat_4_to_7(void)
+static inline void enable_bat_4_to_7(void)
 {
   PPC_SET_SPECIAL_PURPOSE_REGISTER_BITS(HID2, BSP_BBIT32(13));
 }
-- 
1.9.3




More information about the devel mailing list