sysdev: Pass the attribute to the low level sysdev show/store function
[pandora-kernel.git] / drivers / xen / manage.c
index 2bb268e..a5bc91a 100644 (file)
@@ -63,7 +63,7 @@ static int xen_suspend(void *data)
        gnttab_resume();
        xen_mm_unpin_all();
 
-       device_power_up();
+       device_power_up(PMSG_RESUME);
 
        if (!*cancelled) {
                xen_irq_resume();
@@ -114,7 +114,7 @@ static void do_suspend(void)
        } else
                xenbus_suspend_cancel();
 
-       device_resume();
+       device_resume(PMSG_RESUME);
 
        /* Make sure timer events get retriggered on all CPUs */
        clock_was_set();