git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] sched cleanups
[pandora-kernel.git]
/
drivers
/
macintosh
/
via-pmu.c
diff --git
a/drivers/macintosh/via-pmu.c
b/drivers/macintosh/via-pmu.c
index
4a0a0ad
..
645a2e5
100644
(file)
--- a/
drivers/macintosh/via-pmu.c
+++ b/
drivers/macintosh/via-pmu.c
@@
-3065,7
+3065,7
@@
static int pmu_sys_suspended = 0;
static int pmu_sys_suspend(struct sys_device *sysdev, pm_message_t state)
{
- if (state
!= PM_SUSPEND_DISK
|| pmu_sys_suspended)
+ if (state
.event != PM_EVENT_SUSPEND
|| pmu_sys_suspended)
return 0;
/* Suspend PMU event interrupts */