From fdbb72edf16ff1d90bb9274aa668191320b76942 Mon Sep 17 00:00:00 2001 From: Imre Deak Date: Mon, 28 Nov 2005 18:16:17 -0800 Subject: [PATCH] [PATCH] ARM: OMAP: PalmTE FB support For me it didn't even build for PALMTE, so this is at least needed --- drivers/video/omap/lcdc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.41.1