[PATCH] fbdev init order violation

Geert Uytterhoeven (geert@linux-m68k.org)
Wed, 18 Apr 2001 12:20:52 +0200 (CEST)


The Epson 1355 frame buffer device doesn't use resource management (yet), so it
must be initialized later.

--- linux-2.4.4-pre4/drivers/video/fbmem.c.orig Wed Apr 18 11:40:40 2001
+++ linux-2.4.4-pre4/drivers/video/fbmem.c Wed Apr 18 12:17:57 2001
@@ -202,9 +202,6 @@
#ifdef CONFIG_FB_SIS
{ "sisfb", sisfb_init, sisfb_setup },
#endif
-#ifdef CONFIG_FB_E1355
- { "e1355fb", e1355fb_init, e1355fb_setup },
-#endif

/*
* Generic drivers that are used as fallbacks
@@ -269,6 +266,9 @@
#endif
#ifdef CONFIG_FB_HIT
{ "hitfb", hitfb_init, NULL },
+#endif
+#ifdef CONFIG_FB_E1355
+ { "e1355fb", e1355fb_init, e1355fb_setup },
#endif
#ifdef CONFIG_FB_DC
{ "dcfb", dcfb_init, NULL },

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/