diff options
Diffstat (limited to 'drivers/block/acsi_slm.c')
-rw-r--r-- | drivers/block/acsi_slm.c | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/drivers/block/acsi_slm.c b/drivers/block/acsi_slm.c index d718075e2..e4d343be3 100644 --- a/drivers/block/acsi_slm.c +++ b/drivers/block/acsi_slm.c @@ -271,17 +271,11 @@ static int slm_get_pagesize( int device, int *w, int *h ); static struct timer_list slm_timer = { NULL, NULL, 0, 0, slm_test_ready }; static struct file_operations slm_fops = { - NULL, /* lseek - default */ - slm_read, /* read - status reading */ - slm_write, /* write - printing data write */ - NULL, /* readdir - bad */ - NULL, /* poll */ - slm_ioctl, /* ioctl */ - NULL, /* mmap */ - slm_open, /* open */ - NULL, /* flush */ - slm_release, /* release */ - NULL /* fsync */ + read: slm_read, + write: slm_write, + ioctl: slm_ioctl, + open: slm_open, + release: slm_release, }; |