diff options
author | Thomas Weber <weber@corscience.de> | 2010-07-09 07:40:53 +0000 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2010-08-03 10:21:07 +0300 |
commit | 047b51fb208c716294b4682c904df8a3ad8b6a69 (patch) | |
tree | b3ab6ab5a71cc215e80344a0ad9aa01d42a70ca8 | |
parent | 2430f9df61e2ea47ea468dfe22b7e2db97111fb4 (diff) |
OMAP2: powerdomain: Add break in switch statement
Add a missing break at end of switch statement. At the moment it is a
fall through to WARN_ON(1) and return -EEXIST.
Signed-off-by: Thomas Weber <weber@corscience.de>
Acked-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
-rw-r--r-- | arch/arm/mach-omap2/powerdomain.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/powerdomain.c b/arch/arm/mach-omap2/powerdomain.c index a2904aa7065..6527ec30dc1 100644 --- a/arch/arm/mach-omap2/powerdomain.c +++ b/arch/arm/mach-omap2/powerdomain.c @@ -875,6 +875,7 @@ int pwrdm_read_mem_retst(struct powerdomain *pwrdm, u8 bank) break; case 4: m = OMAP_MEM4_RETSTATE_MASK; + break; default: WARN_ON(1); /* should never happen */ return -EEXIST; |