Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 177916
b: refs/heads/master
c: c47a48d
h: refs/heads/master
v: v3
  • Loading branch information
Wu Zhangjin authored and Ralf Baechle committed Dec 17, 2009
1 parent 1859f32 commit 517fb30
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 59d4a91416957c12ccc4185d90a62eb1b44b2fc8
refs/heads/master: c47a48d83a7a82c86ff3e74bdcabeee8f6e6b730
11 changes: 11 additions & 0 deletions trunk/arch/mips/loongson/lemote-2f/pm.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@

#include <loongson.h>

#include <cs5536/cs5536_mfgpt.h>
#include "ec_kb3310b.h"

#define I8042_KBD_IRQ 1
Expand Down Expand Up @@ -136,3 +137,13 @@ int wakeup_loongson(void)

return 0;
}

void __weak mach_suspend(void)
{
disable_mfgpt0_counter();
}

void __weak mach_resume(void)
{
enable_mfgpt0_counter();
}

0 comments on commit 517fb30

Please sign in to comment.