patch-2.3.49 linux/drivers/char/nwflash.c
Next file: linux/drivers/char/specialix.c
Previous file: linux/drivers/char/nwbutton.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Tue Feb 29 11:08:16 2000
- Orig file:
v2.3.48/linux/drivers/char/nwflash.c
- Orig date:
Sat Feb 26 22:31:44 2000
diff -u --recursive --new-file v2.3.48/linux/drivers/char/nwflash.c linux/drivers/char/nwflash.c
@@ -60,20 +60,12 @@
static struct file_operations flash_fops =
{
- flash_llseek, /* llseek */
- flash_read, /* read */
- flash_write, /* write */
- NULL, /* no special readdir */
- NULL, /* no special select */
- flash_ioctl,
- NULL, /* no special mmap */
- open_flash,
- NULL, /* no special flush */
- release_flash,
- NULL, /* no special fsync */
- NULL, /* no special fasync */
- NULL, /* no special check_media_change */
- NULL /* no special revaldate */
+ llseek: flash_llseek,
+ read: flash_read,
+ write: flash_write,
+ ioctl: flash_ioctl,
+ open: open_flash,
+ release: release_flash,
};
static struct miscdevice flash_miscdev =
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)