patch-2.3.43 linux/drivers/char/misc.c

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

diff -u --recursive --new-file v2.3.42/linux/drivers/char/misc.c linux/drivers/char/misc.c
@@ -116,16 +116,7 @@
 }
 
 static struct file_operations misc_fops = {
-        NULL,		/* seek */
-	NULL,		/* read */
-	NULL,		/* write */
-	NULL,		/* readdir */
-	NULL,		/* poll */
-	NULL,		/* ioctl */
-	NULL,		/* mmap */
-        misc_open,
-	NULL,		/* flush */
-        NULL		/* release */
+	open:		misc_open,
 };
 
 int misc_register(struct miscdevice * misc)

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