]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/arm/mach-omap2/smartreflex.c
OMAP: Use omap_rev() instead of system_rev
[linux-2.6-omap-h63xx.git] / arch / arm / mach-omap2 / smartreflex.c
index 453569a38fe32a6095b8d0764a0c8480c10c637d..9fa033d8d19c5453019109acde57aeaff35bef17 100644 (file)
@@ -766,7 +766,7 @@ static int __init omap3_sr_init(void)
        int ret = 0;
        u8 RdReg;
 
-       if (system_rev > OMAP3430_REV_ES1_0) {
+       if (omap_rev() > OMAP3430_REV_ES1_0) {
                current_vdd1_opp = PRCM_VDD1_OPP3;
                current_vdd2_opp = PRCM_VDD2_OPP3;
        } else {