|
@@ -25,7 +25,6 @@
|
|
#include <linux/gfp.h>
|
|
#include <linux/gfp.h>
|
|
#include <linux/syscore_ops.h>
|
|
#include <linux/syscore_ops.h>
|
|
#include <scsi/scsi_scan.h>
|
|
#include <scsi/scsi_scan.h>
|
|
-#include <asm/suspend.h>
|
|
|
|
|
|
|
|
#include "power.h"
|
|
#include "power.h"
|
|
|
|
|
|
@@ -244,10 +243,6 @@ static int create_image(int platform_mode)
|
|
{
|
|
{
|
|
int error;
|
|
int error;
|
|
|
|
|
|
- error = arch_prepare_suspend();
|
|
|
|
- if (error)
|
|
|
|
- return error;
|
|
|
|
-
|
|
|
|
error = dpm_suspend_noirq(PMSG_FREEZE);
|
|
error = dpm_suspend_noirq(PMSG_FREEZE);
|
|
if (error) {
|
|
if (error) {
|
|
printk(KERN_ERR "PM: Some devices failed to power down, "
|
|
printk(KERN_ERR "PM: Some devices failed to power down, "
|