ARM: OMAP2: Use omap_rev() instead of system_rev
[safe/jmp/linux-2.6] / arch / arm / mach-omap2 / clock34xx.c
index 3c2f665..31bb701 100644 (file)
@@ -475,7 +475,7 @@ int __init omap2_clk_init(void)
                 * Update this if there are further clock changes between ES2
                 * and production parts
                 */
-               if (system_rev == OMAP3430_REV_ES1_0) {
+               if (omap_rev() == OMAP3430_REV_ES1_0) {
                        /* No 3430ES1-only rates exist, so no RATE_IN_3430ES1 */
                        cpu_clkflg |= CLOCK_IN_OMAP3430ES1;
                } else {