[PATCH] Tridentfb and resource management

From: Geert Uytterhoeven (geert@linux-m68k.org)
Date: Fri Feb 08 2002 - 11:43:53 EST


        Hi Jani and Marcelo,

Since Tridentfb uses resource management, its initialization must be done
before the initialization of the generic drivers (vesafb and offb).

--- linux-2.4.18-pre9/drivers/video/fbmem.c.orig Fri Feb 8 09:39:18 2002
+++ linux-2.4.18-pre9/drivers/video/fbmem.c Fri Feb 8 17:40:30 2002
@@ -207,6 +207,9 @@
 #ifdef CONFIG_FB_SIS
         { "sisfb", sisfb_init, sisfb_setup },
 #endif
+#ifdef CONFIG_FB_TRIDENT
+ { "trident", tridentfb_init, tridentfb_setup },
+#endif
 
         /*
          * Generic drivers that are used as fallbacks
@@ -229,9 +232,6 @@
 
 #ifdef CONFIG_FB_3DFX
         { "tdfx", tdfxfb_init, tdfxfb_setup },
-#endif
-#ifdef CONFIG_FB_TRIDENT
- { "trident", tridentfb_init, tridentfb_setup },
 #endif
 #ifdef CONFIG_FB_SGIVW
         { "sgivw", sgivwfb_init, sgivwfb_setup },

Gr{oetje,eeting}s,

                                                Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Feb 15 2002 - 21:00:19 EST