diff options
Diffstat (limited to 'arch/arm/mach-omap2/pm34xx.c')
-rw-r--r-- | arch/arm/mach-omap2/pm34xx.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c index 0c49db8afa99..69c47edcc0f2 100644 --- a/arch/arm/mach-omap2/pm34xx.c +++ b/arch/arm/mach-omap2/pm34xx.c | |||
@@ -76,8 +76,6 @@ static struct powerdomain *mpu_pwrdm, *neon_pwrdm; | |||
76 | static struct powerdomain *core_pwrdm, *per_pwrdm; | 76 | static struct powerdomain *core_pwrdm, *per_pwrdm; |
77 | static struct powerdomain *cam_pwrdm; | 77 | static struct powerdomain *cam_pwrdm; |
78 | 78 | ||
79 | static int set_pwrdm_state(struct powerdomain *pwrdm, u32 state); | ||
80 | |||
81 | static inline void omap3_per_save_context(void) | 79 | static inline void omap3_per_save_context(void) |
82 | { | 80 | { |
83 | omap_gpio_save_context(); | 81 | omap_gpio_save_context(); |
@@ -503,7 +501,7 @@ static int omap3_fclks_active(void) | |||
503 | return 0; | 501 | return 0; |
504 | } | 502 | } |
505 | 503 | ||
506 | static int omap3_can_sleep(void) | 504 | int omap3_can_sleep(void) |
507 | { | 505 | { |
508 | if (!sleep_while_idle) | 506 | if (!sleep_while_idle) |
509 | return 0; | 507 | return 0; |
@@ -517,7 +515,7 @@ static int omap3_can_sleep(void) | |||
517 | /* This sets pwrdm state (other than mpu & core. Currently only ON & | 515 | /* This sets pwrdm state (other than mpu & core. Currently only ON & |
518 | * RET are supported. Function is assuming that clkdm doesn't have | 516 | * RET are supported. Function is assuming that clkdm doesn't have |
519 | * hw_sup mode enabled. */ | 517 | * hw_sup mode enabled. */ |
520 | static int set_pwrdm_state(struct powerdomain *pwrdm, u32 state) | 518 | int set_pwrdm_state(struct powerdomain *pwrdm, u32 state) |
521 | { | 519 | { |
522 | u32 cur_state; | 520 | u32 cur_state; |
523 | int sleep_switch = 0; | 521 | int sleep_switch = 0; |