mirror of
https://github.com/torvalds/linux
synced 2024-10-15 15:59:15 +00:00
[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>
This commit is contained in:
parent
3bfffd97ef
commit
bf2049f983
|
@ -2371,7 +2371,7 @@ pmac_suspend_devices(void)
|
||||||
* use this but still... This will take care of sysdev's as well, so
|
* 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.
|
* 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) {
|
if (ret) {
|
||||||
wakeup_decrementer();
|
wakeup_decrementer();
|
||||||
local_irq_enable();
|
local_irq_enable();
|
||||||
|
|
Loading…
Reference in a new issue