ChangeSet 1.2213, 2005/03/30 09:45:26-08:00, [EMAIL PROTECTED]

        [PATCH] Fix u32 vs. pm_message_t in macintosh
        
        This fixes u32 vs. pm_message_t confusion in macintosh.
        
        Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
        Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>



 via-pmu.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


diff -Nru a/drivers/macintosh/via-pmu.c b/drivers/macintosh/via-pmu.c
--- a/drivers/macintosh/via-pmu.c       2005-03-30 12:13:51 -08:00
+++ b/drivers/macintosh/via-pmu.c       2005-03-30 12:13:51 -08:00
@@ -2344,7 +2344,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");
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to