]> pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] ARM: OMAP: Fix fb driver miscompile
authorTodd Poynor <tpoynor@mvista.com>
Tue, 3 Jan 2006 17:12:29 +0000 (09:12 -0800)
committerTony Lindgren <tony@atomide.com>
Tue, 3 Jan 2006 17:12:29 +0000 (09:12 -0800)
Fix fb driver miscompile

drivers/video/omap/omapfb_main.c

index 0eefec5bec35693641540f688f76a2d05725e660..ed5aa4cb2067f9b2d8cf80710b28b143117a8131 100644 (file)
@@ -1250,7 +1250,9 @@ static int omapfb_probe(struct platform_device *pdev)
        init_MUTEX(&fbdev->rqueue_sema);
 
 #ifdef CONFIG_ARCH_OMAP1
+#ifdef CONFIG_FB_OMAP_LCDC_INTERNAL
        fbdev->int_ctrl = &omap1_int_ctrl;
+#endif
 #ifdef CONFIG_FB_OMAP_LCDC_EXTERNAL
        fbdev->ext_if = &sossi_extif;
 #endif