]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/debugfs.h
[PATCH] mmc: Add support for mmc v4 high speed mode
[linux-2.6-omap-h63xx.git] / include / linux / debugfs.h
index 4b0428e335beb5b652bddf8ad77fde35f982e57a..047567d34ca77e5da470f7a954e3799a217e14a9 100644 (file)
@@ -29,7 +29,7 @@ struct debugfs_blob_wrapper {
 #if defined(CONFIG_DEBUG_FS)
 struct dentry *debugfs_create_file(const char *name, mode_t mode,
                                   struct dentry *parent, void *data,
-                                  struct file_operations *fops);
+                                  const struct file_operations *fops);
 
 struct dentry *debugfs_create_dir(const char *name, struct dentry *parent);
 
@@ -58,9 +58,8 @@ struct dentry *debugfs_create_blob(const char *name, mode_t mode,
  */
 
 static inline struct dentry *debugfs_create_file(const char *name, mode_t mode,
-                                                struct dentry *parent,
-                                                void *data,
-                                                struct file_operations *fops)
+                                       struct dentry *parent, void *data,
+                                       const struct file_operations *fops)
 {
        return ERR_PTR(-ENODEV);
 }