[PATCH 3/4] ARM: ks8695: delete resume hook from timer

Subsystems: arm port, the rest

STALE5085d

2 messages, 2 authors, 2012-08-31 · open the first message on its own page

[PATCH 3/4] ARM: ks8695: delete resume hook from timer

From: Linus Walleij <hidden>
Date: 2012-08-29 18:27:12

This system does not support suspend/resume so let's skip this
hook altogether.

Signed-off-by: Linus Walleij <redacted>
---
 arch/arm/mach-ks8695/time.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach-ks8695/time.c b/arch/arm/mach-ks8695/time.c
index ae9dacc..6974c23 100644
--- a/arch/arm/mach-ks8695/time.c
+++ b/arch/arm/mach-ks8695/time.c
@@ -127,7 +127,6 @@ static void __init ks8695_timer_init (void)
 struct sys_timer ks8695_timer = {
 	.init		= ks8695_timer_init,
 	.offset		= ks8695_gettimeoffset,
-	.resume		= ks8695_timer_setup,
 };
 
 void ks8695_restart(char mode, const char *cmd)
-- 
1.7.7.6

[PATCH 3/4] ARM: ks8695: delete resume hook from timer

From: Greg Ungerer <hidden>
Date: 2012-08-31 06:30:01

On 08/30/2012 04:27 AM, Linus Walleij wrote:
This system does not support suspend/resume so let's skip this
hook altogether.

Signed-off-by: Linus Walleij <redacted>
Tested-by: Greg Ungerer <redacted>

quoted hunk
---
  arch/arm/mach-ks8695/time.c |    1 -
  1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach-ks8695/time.c b/arch/arm/mach-ks8695/time.c
index ae9dacc..6974c23 100644
--- a/arch/arm/mach-ks8695/time.c
+++ b/arch/arm/mach-ks8695/time.c
@@ -127,7 +127,6 @@ static void __init ks8695_timer_init (void)
  struct sys_timer ks8695_timer = {
  	.init		= ks8695_timer_init,
  	.offset		= ks8695_gettimeoffset,
-	.resume		= ks8695_timer_setup,
  };

  void ks8695_restart(char mode, const char *cmd)

-- 
------------------------------------------------------------------------
Greg Ungerer  --  Principal Engineer        EMAIL:     gerg at snapgear.com
SnapGear Group, McAfee                      PHONE:       +61 7 3435 2888
8 Gardner Close,                            FAX:         +61 7 3891 3630
Milton, QLD, 4064, Australia                WEB: http://www.SnapGear.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help