From bf2049f983eb47f9463d3dd54abd82e3e58846f9 Mon Sep 17 00:00:00 2001 From: Pavel Machek Date: Sat, 16 Apr 2005 15:25:38 -0700 Subject: [PATCH] [PATCH] fix few remaining u32 vs. pm_message_t problems This fixes remaining u32 vs. pm_message_t confusions in -rc2-mm3. [There are usb changes, too; they went to Greg on his request.] Signed-off-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- drivers/macintosh/via-pmu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/macintosh/via-pmu.c b/drivers/macintosh/via-pmu.c index aefc0c1a862c..fdea1a3a631d 100644 --- a/drivers/macintosh/via-pmu.c +++ b/drivers/macintosh/via-pmu.c @@ -2371,7 +2371,7 @@ pmac_suspend_devices(void) * use this but still... This will take care of sysdev's as well, so * we exit from here with local irqs disabled and PIC off. */ - ret = device_power_down(PM_SUSPEND_MEM); + ret = device_power_down(PMSG_SUSPEND); if (ret) { wakeup_decrementer(); local_irq_enable(); -- 2.30.2