patch-2.3.43 linux/drivers/video/fbmem.c

Next file: linux/drivers/video/offb.c
Previous file: linux/drivers/video/cyber2000fb.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.42/linux/drivers/video/fbmem.c linux/drivers/video/fbmem.c
@@ -550,17 +550,12 @@
 }
 
 static struct file_operations fb_fops = {
-	NULL,		/* lseek	*/
-	fb_read,	/* read		*/
-	fb_write,	/* write	*/
-	NULL,		/* readdir 	*/
-	NULL,		/* poll 	*/
-	fb_ioctl,	/* ioctl 	*/
-	fb_mmap,	/* mmap		*/
-	fb_open,	/* open 	*/
-	NULL,		/* flush	*/
-	fb_release,	/* release 	*/
-	NULL		/* fsync 	*/
+	read:		fb_read,
+	write:		fb_write,
+	ioctl:		fb_ioctl,
+	mmap:		fb_mmap,
+	open:		fb_open,
+	release:	fb_release,
 };
 
 int
@@ -720,6 +715,8 @@
 
 EXPORT_SYMBOL(register_framebuffer);
 EXPORT_SYMBOL(unregister_framebuffer);
+EXPORT_SYMBOL(registered_fb);
+EXPORT_SYMBOL(num_registered_fb);
 #if 1 /* to go away in 2.4.0 */
 EXPORT_SYMBOL(GET_FB_IDX);
 #endif

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)