Fix u32 vs. pm_message_t in macintosh
From: Pavel Machek
Date: Mon Feb 14 2005 - 20:05:03 EST
Hi!
This fixes u32 vs. pm_message_t confusion in macintosh. Please apply,
Pavel
--- clean-mm/drivers/macintosh/via-pmu.c 2005-02-15 00:46:40.000000000 +0100
+++ linux-mm/drivers/macintosh/via-pmu.c 2005-02-15 01:04:10.000000000 +0100
@@ -2339,7 +2339,7 @@
}
/* Send suspend call to devices, hold the device core's dpm_sem */
- ret = device_suspend(PM_SUSPEND_MEM);
+ ret = device_suspend(PMSG_SUSPEND);
if (ret) {
broadcast_wake();
printk(KERN_ERR "Driver sleep failed\n");
--
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/