Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 355176
b: refs/heads/master
c: 656c669
h: refs/heads/master
v: v3
  • Loading branch information
Stephen Warren committed Dec 24, 2012
1 parent 8a19988 commit 5214fd1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8726e96fcb29298351c777670742b553ca947508
refs/heads/master: 656c669bc0cb9d2a621318b4b7300e8072930278
7 changes: 6 additions & 1 deletion trunk/arch/arm/plat-samsung/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
#include <linux/clk.h>
#include <linux/io.h>
#include <linux/platform_device.h>
#include <linux/syscore_ops.h>

#include <asm/mach-types.h>

Expand Down Expand Up @@ -271,16 +272,20 @@ static void __init s3c2410_timer_resources(void)
clk_enable(tin);
}

static struct syscore_ops s3c24xx_syscore_ops = {
.resume = s3c2410_timer_setup,
};

static void __init s3c2410_timer_init(void)
{
arch_gettimeoffset = s3c2410_gettimeoffset;

s3c2410_timer_resources();
s3c2410_timer_setup();
setup_irq(IRQ_TIMER4, &s3c2410_timer_irq);
register_syscore_ops(&s3c24xx_syscore_ops);
}

struct sys_timer s3c24xx_timer = {
.init = s3c2410_timer_init,
.resume = s3c2410_timer_setup
};

0 comments on commit 5214fd1

Please sign in to comment.