Commit 710798c3 authored by Roel Kluin's avatar Roel Kluin Committed by Russell King

[ARM] Fix assignment instead of condition in arm/mach-omap2/clock.c

Fix assignment instead of condition
Signed-off-by: default avatarRoel Kluin <12o3l@tiscali.nl>
Acked-by: default avatarTony Lindgren <tony@atomide.com>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent fd3d7285
...@@ -651,7 +651,7 @@ static u32 omap2_get_clksel(u32 *div_sel, u32 *field_mask, ...@@ -651,7 +651,7 @@ static u32 omap2_get_clksel(u32 *div_sel, u32 *field_mask,
break; break;
case CM_SYSCLKOUT_SEL1: case CM_SYSCLKOUT_SEL1:
div_addr = (u32)&PRCM_CLKOUT_CTRL; div_addr = (u32)&PRCM_CLKOUT_CTRL;
if ((div_off == 3) || (div_off = 11)) if ((div_off == 3) || (div_off == 11))
mask= 0x3; mask= 0x3;
break; break;
case CM_CORE_SEL1: case CM_CORE_SEL1:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment