diff options
Diffstat (limited to 'drivers/scsi/3w-xxxx.c')
-rw-r--r-- | drivers/scsi/3w-xxxx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/3w-xxxx.c b/drivers/scsi/3w-xxxx.c index e1b44d6c0c32..bf5d63e1beee 100644 --- a/drivers/scsi/3w-xxxx.c +++ b/drivers/scsi/3w-xxxx.c | |||
@@ -1040,7 +1040,7 @@ static int tw_chrdev_open(struct inode *inode, struct file *file) | |||
1040 | } /* End tw_chrdev_open() */ | 1040 | } /* End tw_chrdev_open() */ |
1041 | 1041 | ||
1042 | /* File operations struct for character device */ | 1042 | /* File operations struct for character device */ |
1043 | static struct file_operations tw_fops = { | 1043 | static const struct file_operations tw_fops = { |
1044 | .owner = THIS_MODULE, | 1044 | .owner = THIS_MODULE, |
1045 | .ioctl = tw_chrdev_ioctl, | 1045 | .ioctl = tw_chrdev_ioctl, |
1046 | .open = tw_chrdev_open, | 1046 | .open = tw_chrdev_open, |