Skip to contentSkip to conversation

fbmem.c lacks entries for sstfb

PATCH Urs Ganse 1 participant 1 message Oct 10, 2001 Framebuffer layer

lore
Share & tools
lore

Urs Ganse

author
#0 lore raw

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

drivers/video/fbmem.c renamed from drivers/video/fbmem.c~ +5 -1
@@ -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)
 	 */