diff options
Diffstat (limited to 'arch/arm/plat-omap')
-rw-r--r-- | arch/arm/plat-omap/include/mach/powerdomain.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/include/mach/powerdomain.h b/arch/arm/plat-omap/include/mach/powerdomain.h index 69c9e675d8ee..52663fc549d2 100644 --- a/arch/arm/plat-omap/include/mach/powerdomain.h +++ b/arch/arm/plat-omap/include/mach/powerdomain.h | |||
@@ -117,6 +117,8 @@ struct powerdomain { | |||
117 | 117 | ||
118 | struct list_head node; | 118 | struct list_head node; |
119 | 119 | ||
120 | int state; | ||
121 | unsigned state_counter[4]; | ||
120 | }; | 122 | }; |
121 | 123 | ||
122 | 124 | ||
@@ -164,4 +166,9 @@ bool pwrdm_has_hdwr_sar(struct powerdomain *pwrdm); | |||
164 | 166 | ||
165 | int pwrdm_wait_transition(struct powerdomain *pwrdm); | 167 | int pwrdm_wait_transition(struct powerdomain *pwrdm); |
166 | 168 | ||
169 | int pwrdm_state_switch(struct powerdomain *pwrdm); | ||
170 | int pwrdm_clkdm_state_switch(struct clockdomain *clkdm); | ||
171 | int pwrdm_pre_transition(void); | ||
172 | int pwrdm_post_transition(void); | ||
173 | |||
167 | #endif | 174 | #endif |