Skip to contentSkip to conversation

fix few remaining u32 vs. pm_message_t problems in -mm3

PATCH New Pavel Machek 1 participant 1 message Apr 11, 2005 Linux for power macintosh

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix few remaining u32 vs. pm_message_t problems in -mm3

This fixes remaining u32 vs. pm_message_t confusions in -rc2-mm3. [There are usb changes, too; they went to Greg on his request.]

drivers/macintosh/via-pmu.c +1 -1
@@ -2371,7 +2371,7 @@
 	 * 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();