aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/macintosh
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/macintosh')
-rw-r--r--drivers/macintosh/via-pmu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/macintosh/via-pmu.c b/drivers/macintosh/via-pmu.c
index cea1e758eb46..aefc0c1a862c 100644
--- a/drivers/macintosh/via-pmu.c
+++ b/drivers/macintosh/via-pmu.c
@@ -3052,7 +3052,7 @@ pmu_polled_request(struct adb_request *req)
3052 3052
3053static int pmu_sys_suspended = 0; 3053static int pmu_sys_suspended = 0;
3054 3054
3055static int pmu_sys_suspend(struct sys_device *sysdev, u32 state) 3055static int pmu_sys_suspend(struct sys_device *sysdev, pm_message_t state)
3056{ 3056{
3057 if (state != PM_SUSPEND_DISK || pmu_sys_suspended) 3057 if (state != PM_SUSPEND_DISK || pmu_sys_suspended)
3058 return 0; 3058 return 0;