diff options
author | Sascha Hauer <sha@octopus.labnet.pengutronix.de> | 2007-09-13 16:06:02 +0200 |
---|---|---|
committer | Sascha Hauer <sha@octopus.labnet.pengutronix.de> | 2007-09-13 16:06:02 +0200 |
commit | 2a9c1de93fd9e74a79cc3fc66331d02797a98329 (patch) | |
tree | d8355e5597ef542d97b13d6758545f2528bdf48a /arch | |
parent | 8c42a8f67c8ac14affd18c33e996b09197076f5e (diff) | |
download | barebox-2a9c1de93fd9e74a79cc3fc66331d02797a98329.tar.gz barebox-2a9c1de93fd9e74a79cc3fc66331d02797a98329.tar.xz |
whitespace cleanup
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-imx/clocksource.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-netx/generic.c | 22 | ||||
-rw-r--r-- | arch/ppc/lib/time.c | 4 | ||||
-rw-r--r-- | arch/ppc/mach-mpc5xxx/start.S | 4 |
4 files changed, 17 insertions, 17 deletions
diff --git a/arch/arm/mach-imx/clocksource.c b/arch/arm/mach-imx/clocksource.c index d2434d1c1a..79008786f6 100644 --- a/arch/arm/mach-imx/clocksource.c +++ b/arch/arm/mach-imx/clocksource.c @@ -58,9 +58,9 @@ static int clocksource_init (void) TCTL1 &= ~TCTL_TEN; TCTL1 |= TCTL_TEN; /* Enable timer */ - cs.mult = clocksource_hz2mult(get_PERCLK1(), cs.shift); + cs.mult = clocksource_hz2mult(get_PERCLK1(), cs.shift); - init_clock(&cs); + init_clock(&cs); return 0; } diff --git a/arch/arm/mach-netx/generic.c b/arch/arm/mach-netx/generic.c index abfedb45e1..d904908edc 100644 --- a/arch/arm/mach-netx/generic.c +++ b/arch/arm/mach-netx/generic.c @@ -24,11 +24,11 @@ #include "eth_firmware.h" struct fw_header { - unsigned int magic; - unsigned int type; - unsigned int version; + unsigned int magic; + unsigned int type; + unsigned int version; unsigned int table_size; - unsigned int reserved[4]; + unsigned int reserved[4]; } __attribute__((packed)); static int xc_check_ptr(int xcno, unsigned long adr, unsigned int size) @@ -47,17 +47,17 @@ static int xc_check_ptr(int xcno, unsigned long adr, unsigned int size) static int xc_patch(int xcno, void *patch, int count) { - unsigned int adr, val, *p = patch; + unsigned int adr, val, *p = patch; /* printf("%s: patch: %p size: %d\n",__FUNCTION__,patch,count); */ - int i; - for(i=0; i<count; i++) { - adr = *p++; - val = *p++; + int i; + for(i=0; i<count; i++) { + adr = *p++; + val = *p++; if( xc_check_ptr(xcno, adr, 1) < 0) return -1; - *(volatile unsigned int *)adr = val; - } + *(volatile unsigned int *)adr = val; + } return 0; } diff --git a/arch/ppc/lib/time.c b/arch/ppc/lib/time.c index 94d5b2608d..9db04601c0 100644 --- a/arch/ppc/lib/time.c +++ b/arch/ppc/lib/time.c @@ -64,9 +64,9 @@ static int clocksource_init (void) { init_timebase(); - cs.mult = clocksource_hz2mult(get_timebase_clock(), cs.shift); + cs.mult = clocksource_hz2mult(get_timebase_clock(), cs.shift); - init_clock(&cs); + init_clock(&cs); return 0; } diff --git a/arch/ppc/mach-mpc5xxx/start.S b/arch/ppc/mach-mpc5xxx/start.S index 933215c4f2..75d653d501 100644 --- a/arch/ppc/mach-mpc5xxx/start.S +++ b/arch/ppc/mach-mpc5xxx/start.S @@ -170,9 +170,9 @@ lowboot_reentry: mr r3, r21 /* r3: BOOTFLAG */ bl initdram /* initialize sdram */ - /* r3: End of RAM */ + /* r3: End of RAM */ - b _continue_init + b _continue_init /* * Vector Table */ |