diff --git a/[refs] b/[refs] index f0bc296484b2..6ffb281b4c69 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 59d4a91416957c12ccc4185d90a62eb1b44b2fc8 +refs/heads/master: c47a48d83a7a82c86ff3e74bdcabeee8f6e6b730 diff --git a/trunk/arch/mips/loongson/lemote-2f/pm.c b/trunk/arch/mips/loongson/lemote-2f/pm.c index 81c06410aa76..d7af2e616592 100644 --- a/trunk/arch/mips/loongson/lemote-2f/pm.c +++ b/trunk/arch/mips/loongson/lemote-2f/pm.c @@ -22,6 +22,7 @@ #include +#include #include "ec_kb3310b.h" #define I8042_KBD_IRQ 1 @@ -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(); +}