]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/video/omap/lcd_2430sdp.c
ARM: OMAP: Fix cpu detection
[linux-2.6-omap-h63xx.git] / drivers / video / omap / lcd_2430sdp.c
index b456e0224bc06dcf83247677a0acbd8b6b060d27..4a61fa044f3f20db5b84dcff22627861f7185e75 100644 (file)
@@ -88,7 +88,7 @@ static int sdp2430_panel_enable(struct lcd_panel *panel)
                grp_reg = TWL4030_VAUX3_DEV_GRP;
                grp_val = ENABLE_VAUX3_DEV_GRP;
 
-               if (is_sil_rev_greater_than(OMAP3430_REV_ES1_0)) {
+               if (system_rev > OMAP3430_REV_ES1_0) {
                        t2_out(PM_RECEIVER, ENABLE_VPLL2_DEDICATED,
                                        TWL4030_VPLL2_DEDICATED);
                        t2_out(PM_RECEIVER, ENABLE_VPLL2_DEV_GRP,
@@ -116,7 +116,7 @@ static void sdp2430_panel_disable(struct lcd_panel *panel)
 {
        omap_set_gpio_dataout(enable_gpio, 0);
        omap_set_gpio_dataout(backlight_gpio, 0);
-       if (is_sil_rev_greater_than(OMAP3430_REV_ES1_0)) {
+       if (system_rev > OMAP3430_REV_ES1_0) {
                t2_out(PM_RECEIVER, 0x0, TWL4030_VPLL2_DEDICATED);
                t2_out(PM_RECEIVER, 0x0, TWL4030_VPLL2_DEV_GRP);
                mdelay(4);