diff options
Diffstat (limited to 'arch/arm/mach-omap1/pm.c')
-rw-r--r-- | arch/arm/mach-omap1/pm.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-omap1/pm.c b/arch/arm/mach-omap1/pm.c index 49efe903dacd..6f4ea4bda5e0 100644 --- a/arch/arm/mach-omap1/pm.c +++ b/arch/arm/mach-omap1/pm.c | |||
@@ -72,12 +72,12 @@ static unsigned int mpui1610_sleep_save[MPUI1610_SLEEP_SAVE_SIZE]; | |||
72 | 72 | ||
73 | static unsigned short enable_dyn_sleep = 1; | 73 | static unsigned short enable_dyn_sleep = 1; |
74 | 74 | ||
75 | static ssize_t omap_pm_sleep_while_idle_show(struct subsystem * subsys, char *buf) | 75 | static ssize_t omap_pm_sleep_while_idle_show(struct kset *kset, char *buf) |
76 | { | 76 | { |
77 | return sprintf(buf, "%hu\n", enable_dyn_sleep); | 77 | return sprintf(buf, "%hu\n", enable_dyn_sleep); |
78 | } | 78 | } |
79 | 79 | ||
80 | static ssize_t omap_pm_sleep_while_idle_store(struct subsystem * subsys, | 80 | static ssize_t omap_pm_sleep_while_idle_store(struct kset *kset, |
81 | const char * buf, | 81 | const char * buf, |
82 | size_t n) | 82 | size_t n) |
83 | { | 83 | { |
@@ -100,7 +100,7 @@ static struct subsys_attribute sleep_while_idle_attr = { | |||
100 | .store = omap_pm_sleep_while_idle_store, | 100 | .store = omap_pm_sleep_while_idle_store, |
101 | }; | 101 | }; |
102 | 102 | ||
103 | extern struct subsystem power_subsys; | 103 | extern struct kset power_subsys; |
104 | static void (*omap_sram_idle)(void) = NULL; | 104 | static void (*omap_sram_idle)(void) = NULL; |
105 | static void (*omap_sram_suspend)(unsigned long r0, unsigned long r1) = NULL; | 105 | static void (*omap_sram_suspend)(unsigned long r0, unsigned long r1) = NULL; |
106 | 106 | ||
@@ -698,10 +698,10 @@ static struct irqaction omap_wakeup_irq = { | |||
698 | 698 | ||
699 | 699 | ||
700 | static struct pm_ops omap_pm_ops ={ | 700 | static struct pm_ops omap_pm_ops ={ |
701 | .pm_disk_mode = 0, | ||
702 | .prepare = omap_pm_prepare, | 701 | .prepare = omap_pm_prepare, |
703 | .enter = omap_pm_enter, | 702 | .enter = omap_pm_enter, |
704 | .finish = omap_pm_finish, | 703 | .finish = omap_pm_finish, |
704 | .valid = pm_valid_only_mem, | ||
705 | }; | 705 | }; |
706 | 706 | ||
707 | static int __init omap_pm_init(void) | 707 | static int __init omap_pm_init(void) |