aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/ubi/ubi.h
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2009-01-11 23:55:39 +0100
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2009-01-18 14:02:08 +0200
commit4d187a88d3ee3be6a1a0b6859eb00f70e1601b5e (patch)
tree8b85414089fc5fc3610a186e0daa3c283da47776 /drivers/mtd/ubi/ubi.h
parentUBI: allow all ioctls (diff)
downloadlinux-dev-4d187a88d3ee3be6a1a0b6859eb00f70e1601b5e.tar.xz
linux-dev-4d187a88d3ee3be6a1a0b6859eb00f70e1601b5e.zip
UBI: constify file operations
Signed-off-by: Jan Engelhardt <jengelh@medozas.de> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to '')
-rw-r--r--drivers/mtd/ubi/ubi.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mtd/ubi/ubi.h b/drivers/mtd/ubi/ubi.h
index 4a8ec485c91d..381f0e1d0a74 100644
--- a/drivers/mtd/ubi/ubi.h
+++ b/drivers/mtd/ubi/ubi.h
@@ -449,9 +449,9 @@ struct ubi_device {
};
extern struct kmem_cache *ubi_wl_entry_slab;
-extern struct file_operations ubi_ctrl_cdev_operations;
-extern struct file_operations ubi_cdev_operations;
-extern struct file_operations ubi_vol_cdev_operations;
+extern const struct file_operations ubi_ctrl_cdev_operations;
+extern const struct file_operations ubi_cdev_operations;
+extern const struct file_operations ubi_vol_cdev_operations;
extern struct class *ubi_class;
extern struct mutex ubi_devices_mutex;