]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/arm/mach-omap2/board-ldp.c
OMAP: Use omap_rev() instead of system_rev
[linux-2.6-omap-h63xx.git] / arch / arm / mach-omap2 / board-ldp.c
index e046b101c3269bbe64ea1a0b8ee318578207ab0f..e1765cbf678ec5d439c8090faf4157339e42b6b6 100644 (file)
@@ -57,7 +57,7 @@ static int __init msecure_init(void)
 #ifdef CONFIG_RTC_DRV_TWL4030
        /* 3430ES2.0 doesn't have msecure/gpio-22 line connected to T2 */
        if (omap_type() == OMAP2_DEVICE_TYPE_GP &&
-                       system_rev < OMAP3430_REV_ES2_0) {
+                       omap_rev() < OMAP3430_REV_ES2_0) {
                void __iomem *msecure_pad_config_reg =
                        omap_ctrl_base_get() + 0xA3C;
                int mux_mask = 0x04;