patch-2.2.0-pre9 linux/drivers/video/offb.c

Next file: linux/drivers/video/pm2fb.c
Previous file: linux/drivers/video/fbmem.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.0-pre8/linux/drivers/video/offb.c linux/drivers/video/offb.c
@@ -400,8 +400,10 @@
     }
 #endif /* CONFIG_FB_ATY */
 #ifdef CONFIG_FB_S3TRIO
-    if (s3triofb_init_of(dp))
+    if (!strncmp(dp->name, "S3Trio", 6)) {
+    	s3triofb_init_of(dp);
 	return 1;
+    }
 #endif /* CONFIG_FB_S3TRIO */
 #ifdef CONFIG_FB_IMSTT
     if (!strncmp(dp->name, "IMS,tt", 6)) {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov