patch-2.3.43 linux/drivers/char/nvram.c
Next file: linux/drivers/char/pc110pad.c
Previous file: linux/drivers/char/msp3400.c
Back to the patch index
Back to the overall index
-  Lines: 23
-  Date:
Wed Feb  9 11:42:35 2000
-  Orig file: 
v2.3.42/linux/drivers/char/nvram.c
-  Orig date: 
Mon Nov  1 13:56:26 1999
diff -u --recursive --new-file v2.3.42/linux/drivers/char/nvram.c linux/drivers/char/nvram.c
@@ -393,16 +393,12 @@
 #endif /* CONFIG_PROC_FS */
 
 static struct file_operations nvram_fops = {
-	nvram_llseek,
-	nvram_read,
-	nvram_write,
-	NULL,			/* No readdir */
-	NULL,			/* No poll */
-	nvram_ioctl,
-	NULL,			/* No mmap */
-	nvram_open,
-	NULL,			/* flush */
-	nvram_release
+	llseek:		nvram_llseek,
+	read:		nvram_read,
+	write:		nvram_write,
+	ioctl:		nvram_ioctl,
+	open:		nvram_open,
+	release:	nvram_release,
 };
 
 static struct miscdevice nvram_dev = {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)