diff options
author | Thomas Weber <weber@corscience.de> | 2010-07-09 09:40:53 +0200 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2010-08-03 09:21:07 +0200 |
commit | 047b51fb208c716294b4682c904df8a3ad8b6a69 (patch) | |
tree | b3ab6ab5a71cc215e80344a0ad9aa01d42a70ca8 /arch/arm/mach-omap2/powerdomain.c | |
parent | omap3: add support for NAND on LDP board (diff) | |
download | linux-047b51fb208c716294b4682c904df8a3ad8b6a69.tar.xz linux-047b51fb208c716294b4682c904df8a3ad8b6a69.zip |
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>
Diffstat (limited to 'arch/arm/mach-omap2/powerdomain.c')
-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 a2904aa7065e..6527ec30dc17 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; |