fbmem.c lacks entries for sstfb

Urs Ganse (Urs.Ganse@t-online.de)
Wed, 10 Oct 2001 15:05:52 +0200


--WIyZ46R2i8wDzkSu
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hi everyone!

Since 2.4.10, sstfb, the Voodoo 1/2 framebuffer driver is included in
the kernel tree. It works fine as a module, but when it is compiled
fixed into the kernel, it won't initialize 'cause the appropiate
entries in fbmem.c are missing (they exist in the ac-branch,
though). The patch is attached.

Sincerely,
Urs Ganse
--WIyZ46R2i8wDzkSu
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=fbmem-patch

--- linux/drivers/video/fbmem.c~ Wed Oct 10 12:42:47 2001
+++ linux/drivers/video/fbmem.c Wed Oct 10 12:56:56 2001
@@ -124,6 +124,8 @@
extern int e1355fb_setup(char*);
extern int pvr2fb_init(void);
extern int pvr2fb_setup(char*);
+extern int sstfb_init(void);
+extern int sstfb_setup(char*);

static struct {
const char *name;
@@ -274,7 +276,9 @@
#ifdef CONFIG_FB_PVR2
{ "pvr2", pvr2fb_init, pvr2fb_setup },
#endif
-
+#ifdef CONFIG_FB_VOODOO1
+ { "sst", sstfb_init, sstfb_setup },
+#endif
/*
* Generic drivers that don't use resource management (yet)
*/

--WIyZ46R2i8wDzkSu--
-
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/