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
- Lines: 23
- Date:
Wed Feb 9 11:42:35 2000
- Orig file:
v2.3.42/linux/drivers/macintosh/nvram.c
- Orig date:
Tue Aug 31 17:29:14 1999
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)