patch-2.3.43 linux/drivers/sbus/char/envctrl.c
Next file: linux/drivers/sbus/char/flash.c
Previous file: linux/drivers/sbus/char/bpp.c
Back to the patch index
Back to the overall index
- Lines: 29
- Date:
Wed Feb 9 19:39:04 2000
- Orig file:
v2.3.42/linux/drivers/sbus/char/envctrl.c
- Orig date:
Fri Jan 21 18:19:16 2000
diff -u --recursive --new-file v2.3.42/linux/drivers/sbus/char/envctrl.c linux/drivers/sbus/char/envctrl.c
@@ -1,4 +1,4 @@
-/* $Id: envctrl.c,v 1.14 2000/01/09 15:43:45 ecd Exp $
+/* $Id: envctrl.c,v 1.15 2000/02/09 22:33:23 davem Exp $
* envctrl.c: Temperature and Fan monitoring on Machines providing it.
*
* Copyright (C) 1998 Eddie C. Dost (ecd@skynet.be)
@@ -1522,16 +1522,12 @@
}
static struct file_operations envctrl_fops = {
- envctrl_llseek,
- envctrl_read,
- envctrl_write,
- NULL, /* readdir */
- NULL, /* poll */
- envctrl_ioctl,
- NULL, /* mmap */
- envctrl_open,
- NULL, /* flush */
- envctrl_release
+ llseek: envctrl_llseek,
+ read: envctrl_read,
+ write: envctrl_write,
+ ioctl: envctrl_ioctl,
+ open: envctrl_open,
+ release: envctrl_release,
};
static struct miscdevice envctrl_dev = {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)