patch-2.3.49 linux/drivers/char/wdt285.c
Next file: linux/drivers/char/wdt977.c
Previous file: linux/drivers/char/vt.c
Back to the patch index
Back to the overall index
- Lines: 23
- Date:
Tue Feb 29 11:08:16 2000
- Orig file:
v2.3.48/linux/drivers/char/wdt285.c
- Orig date:
Sat Feb 26 22:31:45 2000
diff -u --recursive --new-file v2.3.48/linux/drivers/char/wdt285.c linux/drivers/char/wdt285.c
@@ -153,18 +153,10 @@
static struct file_operations watchdog_fops=
{
- NULL, /* Seek */
- NULL, /* Read */
- watchdog_write, /* Write */
- NULL, /* Readdir */
- NULL, /* Select */
- watchdog_ioctl, /* Ioctl */
- NULL, /* MMap */
- watchdog_open,
- NULL, /* flush */
- watchdog_release,
- NULL,
- NULL /* Fasync */
+ write: watchdog_write,
+ ioctl: watchdog_ioctl,
+ open: watchdog_open,
+ release: watchdog_release,
};
static struct miscdevice watchdog_miscdev=
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)