[ARM] Fix assignment instead of condition in arm/mach-omap2/clock.c
authorRoel Kluin <12o3l@tiscali.nl>
Fri, 26 Oct 2007 21:22:51 +0000 (23:22 +0200)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 31 Oct 2007 15:21:43 +0000 (15:21 +0000)
Fix assignment instead of condition

Signed-off-by: Roel Kluin <12o3l@tiscali.nl>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-omap2/clock.c

index d9af4367f8bb033376c1f2863bc0de95c27d70f4..e6e85b7b097b0e926f977034aea98515da2321fb 100644 (file)
@@ -651,7 +651,7 @@ static u32 omap2_get_clksel(u32 *div_sel, u32 *field_mask,
                break;
        case CM_SYSCLKOUT_SEL1:
                div_addr = (u32)&PRCM_CLKOUT_CTRL;
-               if ((div_off == 3) || (div_off = 11))
+               if ((div_off == 3) || (div_off == 11))
                        mask= 0x3;
                break;
        case CM_CORE_SEL1: