diff options
Diffstat (limited to 'arch/arm/mach-omap2/pm.c')
-rw-r--r-- | arch/arm/mach-omap2/pm.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/arch/arm/mach-omap2/pm.c b/arch/arm/mach-omap2/pm.c index 6f4a5436d0ce..f9fd3e3d0a59 100644 --- a/arch/arm/mach-omap2/pm.c +++ b/arch/arm/mach-omap2/pm.c | |||
@@ -16,10 +16,9 @@ | |||
16 | * published by the Free Software Foundation. | 16 | * published by the Free Software Foundation. |
17 | */ | 17 | */ |
18 | 18 | ||
19 | #include <linux/pm.h> | 19 | #include <linux/suspend.h> |
20 | #include <linux/sched.h> | 20 | #include <linux/sched.h> |
21 | #include <linux/proc_fs.h> | 21 | #include <linux/proc_fs.h> |
22 | #include <linux/pm.h> | ||
23 | #include <linux/interrupt.h> | 22 | #include <linux/interrupt.h> |
24 | #include <linux/sysfs.h> | 23 | #include <linux/sysfs.h> |
25 | #include <linux/module.h> | 24 | #include <linux/module.h> |
@@ -85,9 +84,6 @@ static int omap2_pm_prepare(suspend_state_t state) | |||
85 | case PM_SUSPEND_MEM: | 84 | case PM_SUSPEND_MEM: |
86 | break; | 85 | break; |
87 | 86 | ||
88 | case PM_SUSPEND_DISK: | ||
89 | return -ENOTSUPP; | ||
90 | |||
91 | default: | 87 | default: |
92 | return -EINVAL; | 88 | return -EINVAL; |
93 | } | 89 | } |
@@ -353,9 +349,6 @@ static int omap2_pm_enter(suspend_state_t state) | |||
353 | case PM_SUSPEND_MEM: | 349 | case PM_SUSPEND_MEM: |
354 | ret = omap2_pm_suspend(); | 350 | ret = omap2_pm_suspend(); |
355 | break; | 351 | break; |
356 | case PM_SUSPEND_DISK: | ||
357 | ret = -ENOTSUPP; | ||
358 | break; | ||
359 | default: | 352 | default: |
360 | ret = -EINVAL; | 353 | ret = -EINVAL; |
361 | } | 354 | } |