patch-2.1.118 linux/drivers/char/mem.c

Next file: linux/drivers/char/misc.c
Previous file: linux/drivers/char/macmouse.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.117/linux/drivers/char/mem.c linux/drivers/char/mem.c
@@ -415,6 +415,7 @@
 	NULL,		/* mem_ioctl */
 	mmap_mem,
 	NULL,		/* no special open code */
+	NULL,		/* flush */
 	NULL,		/* no special release code */
 	NULL		/* fsync */
 };
@@ -428,6 +429,7 @@
 	NULL,		/* kmem_ioctl */
 	mmap_kmem,
 	NULL,		/* no special open code */
+	NULL,		/* flush */
 	NULL,		/* no special release code */
 	NULL		/* fsync */
 };
@@ -441,6 +443,7 @@
 	NULL,		/* null_ioctl */
 	NULL,		/* null_mmap */
 	NULL,		/* no special open code */
+	NULL,		/* flush */
 	NULL,		/* no special release code */
 	NULL		/* fsync */
 };
@@ -454,6 +457,7 @@
 	NULL,		/* port_ioctl */
 	NULL,		/* port_mmap */
 	NULL,		/* no special open code */
+	NULL,		/* flush */
 	NULL,		/* no special release code */
 	NULL		/* fsync */
 };
@@ -467,6 +471,7 @@
 	NULL,		/* zero_ioctl */
 	mmap_zero,
 	NULL,		/* no special open code */
+	NULL,		/* flush */
 	NULL		/* no special release code */
 };
 
@@ -479,6 +484,7 @@
 	NULL,		/* full_ioctl */	
 	NULL,		/* full_mmap */
 	NULL,		/* no special open code */
+	NULL,		/* flush */
 	NULL		/* no special release code */
 };
 
@@ -526,6 +532,7 @@
 	NULL,		/* ioctl */
 	NULL,		/* mmap */
 	memory_open,	/* just a selector for the real open */
+	NULL,		/* flush */
 	NULL,		/* release */
 	NULL		/* fsync */
 };

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