summaryrefslogtreecommitdiff
path: root/arch/x86/cpu/sc520/sc520_timer.c
diff options
context:
space:
mode:
authorGraeme Russ <graeme.russ@gmail.com>2011-11-08 02:33:14 +0000
committerGraeme Russ <graeme.russ@gmail.com>2011-11-29 21:01:26 +1100
commit01a0f5a1ebba7eeccf13fc5992ed59e8614fd58a (patch)
treec4336883b65a2a3217393ab92829e786ab82cd4a /arch/x86/cpu/sc520/sc520_timer.c
parent717979fdd752b80e031001c871a4fa2f84b3e3f6 (diff)
cosmetic: checkpatch cleanup of arch/x86/cpu/sc520/*.c
Signed-off-by: Graeme Russ <graeme.russ@gmail.com>
Diffstat (limited to 'arch/x86/cpu/sc520/sc520_timer.c')
-rw-r--r--arch/x86/cpu/sc520/sc520_timer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/cpu/sc520/sc520_timer.c b/arch/x86/cpu/sc520/sc520_timer.c
index 05bc9c1103..495a69459b 100644
--- a/arch/x86/cpu/sc520/sc520_timer.c
+++ b/arch/x86/cpu/sc520/sc520_timer.c
@@ -38,7 +38,7 @@ void sc520_timer_isr(void)
int timer_init(void)
{
/* Register the SC520 specific timer interrupt handler */
- register_timer_isr (sc520_timer_isr);
+ register_timer_isr(sc520_timer_isr);
/* Install interrupt handler for GP Timer 1 */
irq_install_handler (0, timer_isr, NULL);
@@ -62,7 +62,7 @@ int timer_init(void)
writew(100, &sc520_mmcr->gptmr1maxcmpa);
writew(0xe009, &sc520_mmcr->gptmr1ctl);
- unmask_irq (0);
+ unmask_irq(0);
/* Clear the GP Timer 1 status register to get the show rolling*/
writeb(0x02, &sc520_mmcr->gptmrsta);