linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / include / linux / debugfs.h
index 047567d..a5fa6a6 100644 (file)
 
 struct file_operations;
 
-struct debugfs_blob_wrapper {
-       void *data;
-       unsigned long size;
-};
-
 #if defined(CONFIG_DEBUG_FS)
 struct dentry *debugfs_create_file(const char *name, mode_t mode,
                                   struct dentry *parent, void *data,
-                                  const struct file_operations *fops);
+                                  struct file_operations *fops);
 
 struct dentry *debugfs_create_dir(const char *name, struct dentry *parent);
 
@@ -44,9 +39,6 @@ struct dentry *debugfs_create_u32(const char *name, mode_t mode,
 struct dentry *debugfs_create_bool(const char *name, mode_t mode,
                                  struct dentry *parent, u32 *value);
 
-struct dentry *debugfs_create_blob(const char *name, mode_t mode,
-                                 struct dentry *parent,
-                                 struct debugfs_blob_wrapper *blob);
 #else
 
 #include <linux/err.h>
@@ -58,8 +50,9 @@ 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,
-                                       const struct file_operations *fops)
+                                                struct dentry *parent,
+                                                void *data,
+                                                struct file_operations *fops)
 {
        return ERR_PTR(-ENODEV);
 }
@@ -101,13 +94,6 @@ static inline struct dentry *debugfs_create_bool(const char *name, mode_t mode,
        return ERR_PTR(-ENODEV);
 }
 
-static inline struct dentry *debugfs_create_blob(const char *name, mode_t mode,
-                                 struct dentry *parent,
-                                 struct debugfs_blob_wrapper *blob)
-{
-       return ERR_PTR(-ENODEV);
-}
-
 #endif
 
 #endif