diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2007-10-11 18:46:15 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-10-11 18:46:15 -0400 |
commit | 49a89efbbbcc178a39555c43bd59a7593c429664 (patch) | |
tree | 93ab78ec340d3f2fe23f9f853edd0bd62dcc64bb /arch/mips/sni/time.c | |
parent | 10cc3529072d5415fb040018a8a99aa7a60190b6 (diff) |
[MIPS] Fix "no space between function name and open parenthesis" warnings.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/sni/time.c')
-rw-r--r-- | arch/mips/sni/time.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/arch/mips/sni/time.c b/arch/mips/sni/time.c index 153f065434ea..b80877349d38 100644 --- a/arch/mips/sni/time.c +++ b/arch/mips/sni/time.c | |||
@@ -44,23 +44,23 @@ static __init unsigned long dosample(void) | |||
44 | volatile u8 msb, lsb; | 44 | volatile u8 msb, lsb; |
45 | 45 | ||
46 | /* Start the counter. */ | 46 | /* Start the counter. */ |
47 | outb_p (0x34, 0x43); | 47 | outb_p(0x34, 0x43); |
48 | outb_p(SNI_8254_TCSAMP_COUNTER & 0xff, 0x40); | 48 | outb_p(SNI_8254_TCSAMP_COUNTER & 0xff, 0x40); |
49 | outb (SNI_8254_TCSAMP_COUNTER >> 8, 0x40); | 49 | outb(SNI_8254_TCSAMP_COUNTER >> 8, 0x40); |
50 | 50 | ||
51 | /* Get initial counter invariant */ | 51 | /* Get initial counter invariant */ |
52 | ct0 = read_c0_count(); | 52 | ct0 = read_c0_count(); |
53 | 53 | ||
54 | /* Latch and spin until top byte of counter0 is zero */ | 54 | /* Latch and spin until top byte of counter0 is zero */ |
55 | do { | 55 | do { |
56 | outb (0x00, 0x43); | 56 | outb(0x00, 0x43); |
57 | lsb = inb (0x40); | 57 | lsb = inb(0x40); |
58 | msb = inb (0x40); | 58 | msb = inb(0x40); |
59 | ct1 = read_c0_count(); | 59 | ct1 = read_c0_count(); |
60 | } while (msb); | 60 | } while (msb); |
61 | 61 | ||
62 | /* Stop the counter. */ | 62 | /* Stop the counter. */ |
63 | outb (0x38, 0x43); | 63 | outb(0x38, 0x43); |
64 | /* | 64 | /* |
65 | * Return the difference, this is how far the r4k counter increments | 65 | * Return the difference, this is how far the r4k counter increments |
66 | * for every 1/HZ seconds. We round off the nearest 1 MHz of master | 66 | * for every 1/HZ seconds. We round off the nearest 1 MHz of master |
@@ -137,7 +137,7 @@ void __init plat_timer_setup(struct irqaction *irq) | |||
137 | case SNI_BRD_10NEW: | 137 | case SNI_BRD_10NEW: |
138 | case SNI_BRD_TOWER_OASIC: | 138 | case SNI_BRD_TOWER_OASIC: |
139 | case SNI_BRD_MINITOWER: | 139 | case SNI_BRD_MINITOWER: |
140 | sni_a20r_timer_setup (irq); | 140 | sni_a20r_timer_setup(irq); |
141 | break; | 141 | break; |
142 | 142 | ||
143 | case SNI_BRD_PCI_TOWER: | 143 | case SNI_BRD_PCI_TOWER: |
@@ -146,7 +146,7 @@ void __init plat_timer_setup(struct irqaction *irq) | |||
146 | case SNI_BRD_PCI_DESKTOP: | 146 | case SNI_BRD_PCI_DESKTOP: |
147 | case SNI_BRD_PCI_TOWER_CPLUS: | 147 | case SNI_BRD_PCI_TOWER_CPLUS: |
148 | case SNI_BRD_PCI_MTOWER_CPLUS: | 148 | case SNI_BRD_PCI_MTOWER_CPLUS: |
149 | sni_cpu_timer_setup (irq); | 149 | sni_cpu_timer_setup(irq); |
150 | break; | 150 | break; |
151 | } | 151 | } |
152 | } | 152 | } |