summaryrefslogtreecommitdiffstats
path: root/drivers/char/qpmouse.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/qpmouse.c')
-rw-r--r--drivers/char/qpmouse.c18
1 files changed, 6 insertions, 12 deletions
diff --git a/drivers/char/qpmouse.c b/drivers/char/qpmouse.c
index 3de17ad5c..096cf6afb 100644
--- a/drivers/char/qpmouse.c
+++ b/drivers/char/qpmouse.c
@@ -290,18 +290,12 @@ repeat:
}
struct file_operations qp_fops = {
- NULL, /* seek */
- read_qp,
- write_qp,
- NULL, /* readdir */
- poll_qp,
- NULL, /* ioctl */
- NULL, /* mmap */
- open_qp,
- NULL, /* flush */
- release_qp,
- NULL,
- fasync_qp,
+ read: read_qp,
+ write: write_qp,
+ poll: poll_qp,
+ open: open_qp,
+ release: release_qp,
+ fasync: fasync_qp,
};
/*