]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] ARM: OMAP: PalmTE FB support
authorImre Deak <imre.deak@nokia.com>
Tue, 29 Nov 2005 02:16:17 +0000 (18:16 -0800)
committerTony Lindgren <tony@atomide.com>
Tue, 29 Nov 2005 02:16:17 +0000 (18:16 -0800)
For me it didn't even build for PALMTE, so this is at least needed

drivers/video/omap/lcdc.c

index fd5e1371f554805363af927073eea0f3301d8c27..5700d25d08525c0b15c69cb37090dae1fd209692 100644 (file)
@@ -439,7 +439,7 @@ static void inline setup_regs(void)
 #ifdef CONFIG_MACH_OMAP_PALMTE
 /* FIXME:if (machine_is_omap_palmte()) { */
                /* PalmTE uses alternate TFT setting in 8BPP mode */
-               l |= (tft && fbdev->panel->video_mode->bpp == 8) ? 0x810000 : 0;
+               l |= (is_tft && panel->bpp == 8) ? 0x810000 : 0;
 /*     } */
 #endif
        omap_writel(l, OMAP_LCDC_CONTROL);