]> err.no Git - linux-2.6/blobdiff - drivers/macintosh/mediabay.c
[PATCH] swsusp: fix remaining u32 vs. pm_message_t confusion
[linux-2.6] / drivers / macintosh / mediabay.c
index 7c16c25fc5d471068945bf04d9bc00c63b4e037f..7e1afca75e4119b758bd87932ee01752cc723754 100644 (file)
@@ -724,7 +724,7 @@ static int __pmac media_bay_resume(struct macio_dev *mdev)
        struct media_bay_info   *bay = macio_get_drvdata(mdev);
 
        if (mdev->ofdev.dev.power.power_state != 0) {
-               mdev->ofdev.dev.power.power_state = 0;
+               mdev->ofdev.dev.power.power_state = PMSG_ON;
 
                /* We re-enable the bay using it's previous content
                   only if it did not change. Note those bozo timings,