diff options
Diffstat (limited to 'fs/openpromfs/inode.c')
-rw-r--r-- | fs/openpromfs/inode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/openpromfs/inode.c b/fs/openpromfs/inode.c index 99c0bc37ba09..bde1c164417d 100644 --- a/fs/openpromfs/inode.c +++ b/fs/openpromfs/inode.c | |||
@@ -169,7 +169,7 @@ static const struct file_operations openprom_operations = { | |||
169 | 169 | ||
170 | static struct dentry *openpromfs_lookup(struct inode *, struct dentry *, struct nameidata *); | 170 | static struct dentry *openpromfs_lookup(struct inode *, struct dentry *, struct nameidata *); |
171 | 171 | ||
172 | static struct inode_operations openprom_inode_operations = { | 172 | static const struct inode_operations openprom_inode_operations = { |
173 | .lookup = openpromfs_lookup, | 173 | .lookup = openpromfs_lookup, |
174 | }; | 174 | }; |
175 | 175 | ||
@@ -364,7 +364,7 @@ static int openprom_remount(struct super_block *sb, int *flags, char *data) | |||
364 | return 0; | 364 | return 0; |
365 | } | 365 | } |
366 | 366 | ||
367 | static struct super_operations openprom_sops = { | 367 | static const struct super_operations openprom_sops = { |
368 | .alloc_inode = openprom_alloc_inode, | 368 | .alloc_inode = openprom_alloc_inode, |
369 | .destroy_inode = openprom_destroy_inode, | 369 | .destroy_inode = openprom_destroy_inode, |
370 | .read_inode = openprom_read_inode, | 370 | .read_inode = openprom_read_inode, |