aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/ubi/cdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/ubi/cdev.c')
-rw-r--r--drivers/mtd/ubi/cdev.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mtd/ubi/cdev.c b/drivers/mtd/ubi/cdev.c
index c183be99c6ca..d99935c0f3c6 100644
--- a/drivers/mtd/ubi/cdev.c
+++ b/drivers/mtd/ubi/cdev.c
@@ -1025,20 +1025,20 @@ static int ctrl_cdev_ioctl(struct inode *inode, struct file *file,
1025} 1025}
1026 1026
1027/* UBI control character device operations */ 1027/* UBI control character device operations */
1028struct file_operations ubi_ctrl_cdev_operations = { 1028const struct file_operations ubi_ctrl_cdev_operations = {
1029 .ioctl = ctrl_cdev_ioctl, 1029 .ioctl = ctrl_cdev_ioctl,
1030 .owner = THIS_MODULE, 1030 .owner = THIS_MODULE,
1031}; 1031};
1032 1032
1033/* UBI character device operations */ 1033/* UBI character device operations */
1034struct file_operations ubi_cdev_operations = { 1034const struct file_operations ubi_cdev_operations = {
1035 .owner = THIS_MODULE, 1035 .owner = THIS_MODULE,
1036 .ioctl = ubi_cdev_ioctl, 1036 .ioctl = ubi_cdev_ioctl,
1037 .llseek = no_llseek, 1037 .llseek = no_llseek,
1038}; 1038};
1039 1039
1040/* UBI volume character device operations */ 1040/* UBI volume character device operations */
1041struct file_operations ubi_vol_cdev_operations = { 1041const struct file_operations ubi_vol_cdev_operations = {
1042 .owner = THIS_MODULE, 1042 .owner = THIS_MODULE,
1043 .open = vol_cdev_open, 1043 .open = vol_cdev_open,
1044 .release = vol_cdev_release, 1044 .release = vol_cdev_release,