]> err.no Git - linux-2.6/commitdiff
[PATCH] fix few remaining u32 vs. pm_message_t problems
authorPavel Machek <pavel@ucw.cz>
Sat, 16 Apr 2005 22:25:38 +0000 (15:25 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 16 Apr 2005 22:25:38 +0000 (15:25 -0700)
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>
drivers/macintosh/via-pmu.c

index aefc0c1a862c4fb1ec53dbee056fdf711eb3b54e..fdea1a3a631dc122b1e220d2b59f5c120174aec5 100644 (file)
@@ -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();