aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-omap2/powerdomain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/powerdomain.c b/arch/arm/mach-omap2/powerdomain.c
index 411361f97eda..df6446a9c353 100644
--- a/arch/arm/mach-omap2/powerdomain.c
+++ b/arch/arm/mach-omap2/powerdomain.c
@@ -122,7 +122,7 @@ static int _pwrdm_register(struct powerdomain *pwrdm)
122 list_add(&pwrdm->node, &pwrdm_list); 122 list_add(&pwrdm->node, &pwrdm_list);
123 123
124 /* Initialize the powerdomain's state counter */ 124 /* Initialize the powerdomain's state counter */
125 for (i = 0; i < 4; i++) 125 for (i = 0; i < PWRDM_MAX_PWRSTS; i++)
126 pwrdm->state_counter[i] = 0; 126 pwrdm->state_counter[i] = 0;
127 127
128 pwrdm_wait_transition(pwrdm); 128 pwrdm_wait_transition(pwrdm);