diff options
Diffstat (limited to 'drivers/cdrom/sonycd535.c')
-rw-r--r-- | drivers/cdrom/sonycd535.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/cdrom/sonycd535.c b/drivers/cdrom/sonycd535.c index 52e64890e..aaad43c96 100644 --- a/drivers/cdrom/sonycd535.c +++ b/drivers/cdrom/sonycd535.c @@ -1469,16 +1469,17 @@ static struct file_operations cdu_fops = { NULL, /* lseek - default */ block_read, /* read - general block-dev read */ - block_write, /* write - general block-dev write */ + block_write, /* write - general block-dev write */ NULL, /* readdir - bad */ NULL, /* poll */ cdu_ioctl, /* ioctl */ NULL, /* mmap */ cdu_open, /* open */ - cdu_release, /* release */ + NULL, /* flush */ + cdu_release, /* release */ NULL, /* fsync */ NULL, /* fasync */ - cdu535_check_media_change, /* check media change */ + cdu535_check_media_change, /* check media change */ NULL /* revalidate */ }; |