patch-2.3.43 linux/drivers/sbus/char/sunmouse.c
Next file: linux/drivers/sbus/char/uctrl.c
Previous file: linux/drivers/sbus/char/sunkbd.h
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
Wed Feb 9 11:42:35 2000
- Orig file:
v2.3.42/linux/drivers/sbus/char/sunmouse.c
- Orig date:
Wed Dec 29 13:13:18 1999
diff -u --recursive --new-file v2.3.42/linux/drivers/sbus/char/sunmouse.c linux/drivers/sbus/char/sunmouse.c
@@ -542,18 +542,13 @@
}
struct file_operations sun_mouse_fops = {
- NULL,
- sun_mouse_read,
- sun_mouse_write,
- NULL,
- sun_mouse_poll,
- sun_mouse_ioctl,
- NULL,
- sun_mouse_open,
- NULL, /* flush */
- sun_mouse_close,
- NULL,
- sun_mouse_fasync,
+ read: sun_mouse_read,
+ write: sun_mouse_write,
+ poll: sun_mouse_poll,
+ ioctl: sun_mouse_ioctl,
+ open: sun_mouse_open,
+ release: sun_mouse_close,
+ fasync: sun_mouse_fasync,
};
static struct miscdevice sun_mouse_mouse = {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)