summaryrefslogtreecommitdiffstats
path: root/drivers/macintosh
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>2005-04-16 15:25:38 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 15:25:38 -0700
commitbf2049f983eb47f9463d3dd54abd82e3e58846f9 (patch)
tree99b6f13374bd05c39710ead54bc7d7d6ed7c5f0c /drivers/macintosh
parent3bfffd97ef913045080861d1898286ac8975c22a (diff)
downloadop-kernel-dev-bf2049f983eb47f9463d3dd54abd82e3e58846f9.zip
op-kernel-dev-bf2049f983eb47f9463d3dd54abd82e3e58846f9.tar.gz
[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 <pavel@suse.cz> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
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 aefc0c1..fdea1a3 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();
OpenPOWER on IntegriCloud