[rtems commit] LEON3 - Fix spacing

Joel Sherrill joel at rtems.org
Fri Apr 6 14:09:42 UTC 2012


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

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Fri Apr  6 09:09:35 2012 -0500

LEON3 - Fix spacing

---

 c/src/lib/libbsp/sparc/leon3/amba/amba.c    |    2 +-
 c/src/lib/libbsp/sparc/leon3/clock/ckinit.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/c/src/lib/libbsp/sparc/leon3/amba/amba.c b/c/src/lib/libbsp/sparc/leon3/amba/amba.c
index 56ff57f..16fb8de 100644
--- a/c/src/lib/libbsp/sparc/leon3/amba/amba.c
+++ b/c/src/lib/libbsp/sparc/leon3/amba/amba.c
@@ -75,7 +75,7 @@ void amba_initialize(void)
 
   /* find GP Timer */
   i = amba_find_apbslv(&amba_conf,VENDOR_GAISLER,GAISLER_GPTIMER,&dev);
-  if ( i > 0 ){
+  if ( i > 0 ) {
     LEON3_Timer_Regs = (volatile LEON3_Timer_Regs_Map *) dev.start;
   }
 
diff --git a/c/src/lib/libbsp/sparc/leon3/clock/ckinit.c b/c/src/lib/libbsp/sparc/leon3/clock/ckinit.c
index 0d0d231..3cdbb20 100644
--- a/c/src/lib/libbsp/sparc/leon3/clock/ckinit.c
+++ b/c/src/lib/libbsp/sparc/leon3/clock/ckinit.c
@@ -64,7 +64,7 @@ static int clkirq;
     \
     /* Find LEON3 GP Timer */ \
     cnt = amba_find_apbslv(&amba_conf,VENDOR_GAISLER,GAISLER_GPTIMER,&dev); \
-    if ( cnt > 0 ){ \
+    if ( cnt > 0 ) { \
       /* Found APB GPTIMER Timer */ \
       LEON3_Timer_Regs = (volatile LEON3_Timer_Regs_Map *) dev.start; \
       clkirq = (LEON3_Timer_Regs->status & 0xf8) >> 3; \




More information about the vc mailing list