patch-2.3.43 linux/drivers/macintosh/nvram.c

Next file: linux/drivers/macintosh/via-pmu.c
Previous file: linux/drivers/macintosh/mediabay.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.42/linux/drivers/macintosh/nvram.c linux/drivers/macintosh/nvram.c
@@ -83,17 +83,11 @@
 }
 
 struct file_operations nvram_fops = {
-	nvram_llseek,
-	read_nvram,
-	write_nvram,
-	NULL,		/* nvram_readdir */
-	NULL,		/* nvram_select */
-	NULL,		/* nvram_ioctl */
-	NULL,		/* nvram_mmap */
-	nvram_open,
-	NULL,		/* flush */
-	nvram_release,
-	NULL		/* fsync */
+	llseek:		nvram_llseek,
+	read:		read_nvram,
+	write:		write_nvram,
+	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)