From: Imre Deak Date: Tue, 29 Nov 2005 02:16:17 +0000 (-0800) Subject: [PATCH] ARM: OMAP: PalmTE FB support X-Git-Tag: v2.6.15-omap2~72 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=fdbb72edf16ff1d90bb9274aa668191320b76942;p=linux-2.6-omap-h63xx.git [PATCH] ARM: OMAP: PalmTE FB support For me it didn't even build for PALMTE, so this is at least needed --- diff --git a/drivers/video/omap/lcdc.c b/drivers/video/omap/lcdc.c index fd5e1371f55..5700d25d085 100644 --- a/drivers/video/omap/lcdc.c +++ b/drivers/video/omap/lcdc.c @@ -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);