]> nv-tegra.nvidia Code Review - linux-2.6.git/blobdiff - security/inode.c
[POWERPC] Move MPIC smp routines into mpic.c
[linux-2.6.git] / security / inode.c
index 9b16e14f3a80e8faa6ad2bc5efe53d100e3d29a0..d7ecf89fbc743435dc8e82cb424c1b9803984700 100644 (file)
@@ -50,7 +50,7 @@ static int default_open(struct inode *inode, struct file *file)
        return 0;
 }
 
-static struct file_operations default_file_ops = {
+static const struct file_operations default_file_ops = {
        .read =         default_read_file,
        .write =        default_write_file,
        .open =         default_open,
@@ -215,7 +215,7 @@ static int create_by_name(const char *name, mode_t mode,
  */
 struct dentry *securityfs_create_file(const char *name, mode_t mode,
                                   struct dentry *parent, void *data,
-                                  struct file_operations *fops)
+                                  const struct file_operations *fops)
 {
        struct dentry *dentry = NULL;
        int error;