diff options
Diffstat (limited to 'arch/arm/mach-omap1/pm.c')
-rw-r--r-- | arch/arm/mach-omap1/pm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-omap1/pm.c b/arch/arm/mach-omap1/pm.c index 0383ab334270..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 | ||